summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-04-08 01:51:57 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-04-08 01:51:57 +0800
commitcccc9645ec5fc3f3b4fb608641466b77e20bf87b (patch)
treeaf0027aa51784e4efd6aa4fe1c50dc17a26b0bf5 /libs/input/SpriteController.cpp
parentebba175110415567ac3cc51c013291c1f27278b8 (diff)
Avoid collecting transient activity in next transition
The moveFocusableActivityToTop always collects the activity even if there is no order change. If the next transition is started to collect, the transient activity may be a participant that makes inTransition() return true to disturb some conditions. In normal case, RecentsTransitionHandler already calls setFocusedTask to make sure the transient activity is on top with focus. So at finishTransition, assume it should already on top then only need to set focus if it was not focused. Bug: 276707493 Test: Swipe auto-pip from fullscreen landscape to portrait. PiP should not disappear. Change-Id: I1cd2859279d6760189fda7060c5e194ce3a1e060
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions