summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-08-03 14:49:03 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-08-08 06:50:13 +0000
commit7c9cc17e5400c17cff550da15b73ea3956d9444e (patch)
tree88d3872b9b2845764076476d6bf5d0ecce218dbe /libs/input/PointerController.cpp
parentbbc98d7a606fa83c738ed491eed71e555d5df94b (diff)
Skip intermediate resizing when running swipe-pip transition
PipBoundsState may keep old state before handleSwipePipToHomeTransition is called. So if before the transition is done, it should avoid to use the state to update size. The destination size and layout will be handled by the transition. Legacy transition didn't have the race because it always handles the animation in onTaskAppeared directly, it is done before receiving config change. Bug: 285086073 Test: Drag resize a video auto-PiP activity to close screen width in portrait. Expand it to fullscreen in landscape. Use gesture to swipe from bottom. The PiP activity should not disappear or show at wrong position a few frames. Change-Id: I9bd6ebbfffe6725acabcf111ad5cd4d2cc55ea95 (cherry picked from commit cc71768d1e4817f4ab47be05d1c31fedfac151dc)
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions