summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2016-04-26 14:35:54 -0700
committerAmith Yamasani <yamasani@google.com>2016-04-28 10:02:44 -0700
commitad2e4bf9f36cf612db6c397feca8effb125ee541 (patch)
tree6bd87e5eff7501f2e728371e5d24d82f33564930 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0f018570fff044bb68b8009815ae7e5c397d09fd (diff)
Stop user faster and clear stale broadcasts
Moved several USER_STOPPING registered receivers to listen to USER_STOPPED, since they don't need to be blocking the shutdown of the user. Clear all stale broadcasts when stopping a user, so that we don't unnecessarily start up processes and deliver stale broadcasts. This was causing code to run when the user was already stopped and resulted in crashes when other providers and services couldn't be started anymore. Hopefully this fixes many of those races. Bug: 28371487 Change-Id: Ic35a7a23fa8fe009a53f8bf7545d4dad5fa34134
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions