diff options
author | Jeff Sharkey <jsharkey@android.com> | 2016-02-01 17:57:08 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2016-02-18 15:01:15 -0700 |
commit | 2271ba3627d18b65ed5ea63218cee7f9562acd31 (patch) | |
tree | 923ed5610b9dcb4644583b210d8cd08495d758ca /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2c1ba9a961d4f96c26df260ee437655ad9e7c03e (diff) |
Push mapping of package name to appId to kernel.
The new sdcardfs kernel driver needs to know this mapping for
deriving UID permissions, so push the data through /config when
supported by the kernel. This also has the nice benefit of letting
us push only the deltas of what actually changes, instead of
re-parsing the entire "packages.list" file.
The mappings for newly installed apps are pushed before the app is
allowed to run, removing some latent race conditions. Also cleans
up stale mappings when packages are uninstalled, and whenever the
system server reboots.
Bug: 19160983
Change-Id: Iace92efb69616c96b34c0d9d911e4b54e5fd8a67
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions