Skip to content
Snippets Groups Projects
  • Nick Kralevich's avatar
    Revert "Change priv-apps /home/home labels to privapp_data_file" · cdc6649a
    Nick Kralevich authored
    There is a problem with on-disk labeling of files created by secondary
    dex background compilation which is causing unexpected denials to show
    up. Restore the old labeling until we are able to fix the underlying
    problem.
    
    Steps to reproduce:
      1) boot android device.
      2) adb root
      3) Run cmd package compile -r bg-dexopt --secondary-dex com.google.android.gms
      4) Examine the files in /data/user_de/0/com.google.android.gms
    Expected:
      All files have the label privapp_data_file
    Actual:
      The files in /data/user_de/0/com.google.android.gms/app_chimera/m
      are labeled "app_data_file", not "privapp_data_file".
    
    This reverts commit 4df57822.
    
    Bug: 112357170
    Test: policy compiles
    Change-Id: I38ba75c92c9c46e6a1fdbc02e3dc80c63adccaa8
    cdc6649a