summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2012-01-11 14:41:19 -0800
committerChristopher Tate <ctate@google.com>2012-01-12 16:15:09 -0800
commit0bacfd2ba68d21a68a3df345b830bc2a1e515b5a (patch)
tree4ba0f1c83b94a9dfe2df611cb83f10c346e00cab /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parent51938e26913a98aa8de0292e9be8ea9d9ebc67c3 (diff)
Streamline package-installed handling by the Backup Manager
In particular, don't do O(asec_apps * installed_apps) work during the broadcast receiver's operation. On devices with many installed apps and a large number of them moved to ASECs, this was causing the system process to become unresponsive and the watchdog to fire -- which in turn would initiate a restart loop, as the same package-installed broadcast would then be issued again once the package manager rescanned the ASEC containers, ad infinitum. With this change, the expensive call to the package manager is only made once rather than asec_apps times. Bug 5850283 Change-Id: I14e280ea1fa6af19cebc58869a20fbb599c92c8c
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions