summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Louis Chang <louischang@google.com> 2024-03-15 03:03:39 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2024-03-18 09:39:58 +0000
commit82ab73b4169705c8708f68d9d6e8f0ebc1ed1393 (patch)
tree24634a2ebec47c897f88ae40371e567a623b54c0 /libs/input/SpriteController.cpp
parentbb73b66d6da45ed7eebff62a9b18158a7cb94f61 (diff)
Fix MixedDeviceOwnerTest test failure
NullPointerException was thrown while running the test because the top activity of the most recent task is null. This is a regression caused by commit 1ff574d. It happens when adding a recent task because of resuming the next activity while the top-most activity finishes (the activities are in two different Tasks). The finishing task still has the higher z-ordering in the WM hierarchy which therefore was remained be the most recent task. The finishing task should be excluded and the most recent task should be the one that is resumed. Bug: 326367294 Test: atest RecentTasksTest Test: atest MixedDeviceOwnerTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5f1e492e159fd19b567ba5b62d3e2f2e5f733425) Merged-In: Iba8a2004a58a4d440a0c62c59ae89b5e4ca1253c Change-Id: Iba8a2004a58a4d440a0c62c59ae89b5e4ca1253c
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions