summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLouis Chang <louischang@google.com>2019-03-25 15:49:14 +0800
committerLouis Chang <louischang@google.com>2019-04-10 09:27:46 +0800
commit3b21bdc2d50a232a8731df9361c3958651af5933 (patch)
treef7ecf412fa0764ffaad072c1f067f4ae36c7ee75 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6839f419de804da732b4b80d2f0233452d890e78 (diff)
Fix Launcher crash while handling top resumed state
The process of current top resumed activity was killed. Before getting the callbacks from binder death recipient, the process was being restarted while bringing up other non-UI components - such as sending broadcast. Since the top resumed activity was not being updated, ATM had to schedule to the client for dropping the top resumed state after process bound. So, exceptions thrown because it was illegal to drop the top resumed state for a fresh client. Check if necessary to update top resumed activity whenever the stack resumed activity changes. Bug: 128837461 Test: run emulator for 10 times Test: atest ActivityLifecycleTopResumedStateTests Test: atest ActivityLifecycleKeyguardTests Test: atest ActivityLifecycleTests Change-Id: Iefde9bbe5ae50f3a241235faa505a2e58ed681ee
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions