summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLouis Chang <louischang@google.com>2020-08-24 08:39:55 +0800
committerLouis Chang <louischang@google.com>2020-09-14 04:54:09 +0000
commit75cf7679c6c09caebfa50b7d2cda0f1dd96aef7a (patch)
tree2d4da4524cf627a6c5e33663199a7e8d904cdb92 /tools/aapt2/java/JavaClassGenerator.cpp
parent047c1b917d95375ec610725ee25ffd57ae8314d1 (diff)
Fix NPE when starting activity while no focused task
NexusLauncher was not started when FallbackHome finished itself because activities was prevented to be resumed while display is sleeping. So, NPE was thrown while starting an activity because there was no focused task in the display since FallbackHome activity was removed from the task and all tasks were also removed. The activities should still be able to be resumed when calling resumeTop methods explicitly (even when display is sleeping). For the original issue of bubble activities, the activities in secondary display can be prevented from starting by evaluating keyguard-going-away state for default display only. Bug: 164572568 Bug: 160338354 Bug: 168424696 Test: atest ActivityStackTests Change-Id: Ica58b7e8c93e7aa688b335d1ecf7464bc8450e30 Merged-In: Ica58b7e8c93e7aa688b335d1ecf7464bc8450e30
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions