summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-04-03 16:41:29 -0600
committerJeff Sharkey <jsharkey@android.com>2017-04-03 16:41:32 -0600
commit1566233bfdb994cd41d21ffb2615af8d0e29166f (patch)
tree566180ba963894b1e4afad7da282349f9094efc1 /tools/aapt2/java/JavaClassGenerator.cpp
parent644648ebfd93d11405b23cb667ac625653221b69 (diff)
Offer to "fixup" GIDs used for app data.
We recently started tracking cached app data using a per-app GID for the "cache" and "code_cache" directories and their contents. For upgraded devices, we ideally want to "fixup" the GIDs of any existing data while the device is still showing the boot animation, instead of blocking the user when they unlock the device. This fixup operation has the nice side-effect of priming the dentry cache with all the directories that we'll be validating when unlocking a user, so by always running fixup we speed up onBeforeUnlockUser() from about ~540ms to ~220ms. Test: /data/nativetest/installd_service_test/installd_service_test Bug: 34201111, 35084485 Change-Id: If40244d0356beb11df25d3052097c3c5a90d010f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions