summaryrefslogtreecommitdiff
path: root/libs/androidfw
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-06-06 18:42:58 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-06-09 14:32:25 +0800
commit18b51c91fbbae544a79d3d2fadb51cd974b65cce (patch)
tree401cfe9b75658f207481ea987d409f29ebd51d94 /libs/androidfw
parentbba05dfecc76e032f4db1a84160f2b55d5d9cbdb (diff)
Reuse common transition method used by both legacy and shell
To reduce scattered duplicated code of "isAnimating+inTransition" when the places have the same condition to check either legacy or shell transition. The major fix is in WindowToken, which avoids clearing fixed rotation too early when FixedRotationTransitionListener receives onAppTransitionFinished for an activity which is still in transition. E.g. launch landscape app from portrait home, and then swipe up before the launch animation is finished. The closing animation should still show the app in landscape. Bug: 223397413 Bug: 212570341 Test: atest TransitionTests#testAppTransitionWithRotationChange Change-Id: Ib954b390137ea11ccc45748b62e7b7d6812dceb7
Diffstat (limited to 'libs/androidfw')
0 files changed, 0 insertions, 0 deletions