diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2020-05-15 10:33:57 -0700 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2020-05-28 16:06:30 -0700 |
commit | d4e7f93df50950aff2f973c9c7e8408bd07ca2f6 (patch) | |
tree | 020c4f305924971c72498617c08eea3602dbcfa7 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 57e977a5859ff24f5ff909046dccde5bce341f6d (diff) |
Install system app in greatest priority partition
On Pixel 2 devices, /product is a symlink to /system/product. The
product partition has a higher partition precedence than the system
partition so the app should be installed as a system app on the product
partition.
This change also unifies methods for checking whether a file is within
a partition so we will paths will always be canonicalized before the
check.
Bug: 152522330
Test: update system app in system/product/privapp, uninstall updates,
verify that the app was scanned as privileged
Change-Id: I646a5f293b977a78daa2102b73f1d3122f774a2a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions