summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author Jerry Chang <chenghsiuchang@google.com> 2022-11-30 04:13:43 +0000
committer Jerry Chang <chenghsiuchang@google.com> 2022-11-30 06:47:31 +0000
commit0f31aa29c2ff311c1ae0c4c4cca6f5539173e8ec (patch)
tree8120594cd771aeec7340bfd9940b568ba34802a0 /libs/androidfw/ConfigDescription.cpp
parent96c4978054d8524112169b0276b40d788fd03218 (diff)
Consolidate leaving split screen to pip mode behavior
Stop always putting another side to the bottom when a splitting task is entering pip mode. Leave it to onStageHasChildrenChanged to handle, and prevent expanding non-visible side to the top after dismissed the split screen, so flows of leaving split to pip like swipe-to-home or launching another fullscreen app won't expand another side to top unexpectedly. When swipe-to-home from a split pair, it dismisses split screen. However, it also performs fling divider to dismiss animation if one side of the split is empty due to entering pip. Which might be conflicting with each other and leaves the split layout modified with the fling animation but not preperly reset divide position. Update to make sure it always resets divide position and cancel running fling animation after split screen dismissed. Fix: 227727673 Test: atest WMShellUnitTests Test: verify entering pip from split behavior with back-key, home-key and launching another fullscreen app. Video: http://recall/-/fLARJNt42LVxc3tt86SneW/gvATxkQhdJ0APek6RwRHel http://recall/-/fLARJNt42LVxc3tt86SneW/QfHt9H0XtDNDSP3h1AA8K http://recall/-/fLARJNt42LVxc3tt86SneW/QnbdeWo2007s8ZuMf1Syn Change-Id: I2c53ed21e4766d06180e670ee21534cd622db081
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions