summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2024-11-19 16:08:43 -0800
committer Ikram Gabiyev <gabiyev@google.com> 2024-11-19 16:28:18 -0800
commit777bbee092fdedfc57ccae03eddf0d04936571db (patch)
treee6545469b5c1772a9132f5b13abd97feada5ca0d /api/api.go
parent172621540c16d3f0ef19a0dae9ce721a78caab76 (diff)
Implement early animation cancel thru merge
Upon receiving a merge signal on expand PiP, end the animation early and finish the current transition. Also make sure to clear mFinishCallback cache before calling onTransitionFinish(). Otherwise, we might have a merge candidate come in and cache its own finishCallback before we clear it. This should fix issues we have been having with PinnedStackTests, where some transitions would be left unfinished causing breaks. Bug: 379390590 Flag: com.android.wm.shell.enable_pip2 Test: atest PinnedStackTests Change-Id: I14fe9f845c8ee5e039213fb823dbf07f1663afe1
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions