summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-05-12 13:07:14 -0700
committerJeff Sharkey <jsharkey@android.com>2015-05-12 13:21:16 -0700
commit497c05218ae3b30fdd01699e06fba4d04e90659d (patch)
tree3c7f81b5a823500e94d59601016fc545814a3c0a /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta2e26b49539af04ea9d13eb3178f710b496e88bc (diff)
Ignore abandon after install relinquished.
We recently changed the install flow to fully dexopt before renaming the staging directory. This exposed the ability for the session owner to abandon and destroy the stage contents while dexopt was still happening. Due to SELinux rules, the abandon would fail to clean up the stage directory, and PackageManager would "successfully" rename and install that stage, which now only contained the oat/ directory. To avoid this case, we now ignore abandon requests once we've passed the "point of no return" and relinquished our stage over to PackageManagerService. Bug: 20175072 Change-Id: I4ad5b1eba0e38f1315b8330bd95be6e3bc6c635a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions