summaryrefslogtreecommitdiff
path: root/libs/ui/SharedBufferStack.cpp
diff options
context:
space:
mode:
author Suchi Amalapurapu <asuchitra@google.com> 2009-09-15 13:41:47 -0700
committer Suchi Amalapurapu <asuchitra@google.com> 2009-09-15 16:42:20 -0700
commitee5ece4a4db46458207b93bce2d4c01459236376 (patch)
treead5dd9223c4f798acabeb1de6115adb69c2837dc /libs/ui/SharedBufferStack.cpp
parent1cd403eaac24e0e84619dea07e2d1d60e58e1fd2 (diff)
Remove deadlock in PackageManager when installing or upgrading packages.
PM first creates a temporary file from the input package uri before installing it. if the package uri points to a content uri, the content provider has to be retrieved via the ActivityManager which could cause deadlocks with the package manager locks being held. Clean up by always copying or creating temporary files before acquiring these locks. Fix issue when restoring a failed upgrade for third party apps.
Diffstat (limited to 'libs/ui/SharedBufferStack.cpp')
0 files changed, 0 insertions, 0 deletions