summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorriddle_hsu <riddle_hsu@htc.com>2015-04-16 11:36:23 +0800
committerriddle_hsu <riddle_hsu@htc.com>2015-04-16 11:36:23 +0800
commit239d17c05a2694d4c415cb48adeb39e4e3dd386d (patch)
tree2c375affee3c82a5b86d03c11e64d29fc178d30f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent150e0e87e1faa01f927cfe8c7110ef843612a1df (diff)
[ActivityManager] Avoid unnecessary restart provider process
Caller C accesses provider P. Both processes of C and P died before P publishes, P will still be restarted even there is no connection because P is in mLaunchingProviders. When device is low memory, the restarting provider process may be killed easily before publish because no caller to raise its oom-adj. Then device will busy keeping restart it. Solution: If there is no connection to the provider, do not restart it. Change-Id: If6f2d2258d78b6c0989c6e5f3e0cad14db821464
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions