Skip to content
Snippets Groups Projects
  • Jeff Hao's avatar
    66191064
    Add dex2oat permissions to open and read the tmp apk. · 66191064
    Jeff Hao authored
    The PackageManager now passes previous code paths to dex2oat as shared
    libraries. dex2oat needs extra permissions in order to access and open
    the oat files of these libraries (if they were compiled).
    
    Part of a multi-project change.
    
    Bug: 34169257
    Test: cts-tradefed run singleCommand cts -d --module
    CtsAppSecurityHostTestCases -t android.appsecurity.cts.SplitTests
    
    Merged-In: I7b9cfd7f3c3509f3e41f0590ab650bd85faab340
    (cherry-picked from commit 1103f963)
    
    Change-Id: I6d69d463af7a0a93391dd4b7edd5b700012ba58c
    66191064
    History
    Add dex2oat permissions to open and read the tmp apk.
    Jeff Hao authored
    The PackageManager now passes previous code paths to dex2oat as shared
    libraries. dex2oat needs extra permissions in order to access and open
    the oat files of these libraries (if they were compiled).
    
    Part of a multi-project change.
    
    Bug: 34169257
    Test: cts-tradefed run singleCommand cts -d --module
    CtsAppSecurityHostTestCases -t android.appsecurity.cts.SplitTests
    
    Merged-In: I7b9cfd7f3c3509f3e41f0590ab650bd85faab340
    (cherry-picked from commit 1103f963)
    
    Change-Id: I6d69d463af7a0a93391dd4b7edd5b700012ba58c