summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Hongwei Wang <hwwang@google.com> 2024-07-03 14:24:08 -0700
committer Hongwei Wang <hwwang@google.com> 2024-07-03 14:33:57 -0700
commit0898cdf6677875895502d5477357b216cded3ef7 (patch)
tree7e5867bdd456e5fe3943a2b8740ba83c850a155e /libs/androidfw/StringPool.cpp
parent2847a899699d6313603ddd86a65e2136e75d0db7 (diff)
Make sure both transition start/end callback sent
Fixed the case that swipe-pip-to-home animator is created in Launcher but there is actually no PiP transition followed. When Launcher detects an app can auto enter PiP, PipTaskOrganizer#startSwipePipToHome will get called and send out the transition started callback, in certain cases, like what's described in the bug, there is no PiP transition followed by that and therefore, there will be no transition finished callback. With the previously merged change ag/28059459, this in turn leaves Launcher gesture in disabled state. Addressed this by moving sendOnPipTransitionStarted to PipTransition#handleSwipePipToHomeTransition, where we also call sendOnPipTransitionFinished to make sure these two calls are always sent in the auto-enter-pip case (with shell transition being enabled). Flag: EXEMPT bugfix Video: http://recall/-/aaaaaabFQoRHlzixHdtY/cFTnHKLEK3XVGCeiR2vY3w Bug: 350989174 Bug: 340724371 Test: Swipe YouTube to home with Circle-to-Search being present Change-Id: I1bdf4964ddf45eefb792b3ff42c4f707b428a984
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions