summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorLouis Chang <louischang@google.com>2020-08-24 08:39:55 +0800
committerLouis Chang <louischang@google.com>2020-08-26 07:59:14 +0000
commitd02eb8c7d0e4c0b9c533b5c3a85bb8e0cc73cbc0 (patch)
treeaea9b03b6f4a65f52a622908f92dc94b1ed2671d /rs/java/android/renderscript/ProgramStore.java
parenta437988c4239dd44986724e6a5b0508c3c4291cf (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 Test: atest ActivityStackTests Change-Id: Ica58b7e8c93e7aa688b335d1ecf7464bc8450e30
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions