Skip to content
Snippets Groups Projects
  • Jeff Hao's avatar
    37f5c2d9
    Add dex2oat permissions to open and read the tmp apk. · 37f5c2d9
    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
    
    (cherry-picked from commit 1103f963)
    
    Change-Id: I3cf810ef5f4f4462f6082dc30d3a7b144dcce0d9
    37f5c2d9
    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
    
    (cherry-picked from commit 1103f963)
    
    Change-Id: I3cf810ef5f4f4462f6082dc30d3a7b144dcce0d9