summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-11-05 10:00:05 -0800
committerJeff Sharkey <jsharkey@android.com>2015-11-05 10:28:43 -0800
commitf131e1aae9c04d58a6ac0c51555ed90ea4158d6e (patch)
tree8fb893552f61928bda03f6f352f0b18c14ad636d /tools/aapt2/java/JavaClassGenerator.cpp
parentc8bb39d98d7c2a07f1a5c745f6e89e379e4a25f0 (diff)
Kick movement preconditions onto handler thread.
The bulk of package moving already occurs on the handler thread, but one of the precondition steps requires that we make an installd call to calculate disk space of the app. If there was already another long-running installd call going on, we could end up ANR'ing the caller. Since movePackage() is already designed to return a moveId and go async, we can push all the precondition steps onto the handler thread to prevent the ANR. Bug: 25490003 Change-Id: I62d555c23bbf81b791f6f4cabc40c3d64c580cf8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions