summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-11-05 10:00:05 -0800
committerThe Android Automerger <android-build@google.com>2015-11-05 17:35:27 -0800
commit14083582a3fd306ce28ab2be46d61cd4d299b01c (patch)
tree31b49012bc9e180d805c4aebcb3287f36112396b /packages/DocumentsUI
parentd028ee75c5675e38ae71b7aeb32fe10637af1a98 (diff)
downloadframeworks_base-14083582a3fd306ce28ab2be46d61cd4d299b01c.zip
frameworks_base-14083582a3fd306ce28ab2be46d61cd4d299b01c.tar.gz
frameworks_base-14083582a3fd306ce28ab2be46d61cd4d299b01c.tar.bz2
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 'packages/DocumentsUI')
0 files changed, 0 insertions, 0 deletions