summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-08-28 14:42:07 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-08-28 15:35:51 +0000
commitdc6ca23b2cbaf4c8adce5d62a08dbe54ad8d7cc5 (patch)
tree52c694b3136b77a65fa4b58be61ab0348fe7df2f /libs/androidfw/ObbFile.cpp
parent5918648b052367fabec76c9936b6deae287b22d9 (diff)
Finish fixed rotation of transient launch with corner cases
Case 1: Right before finishing recents transition, a display change transition starts to collect, then if the recent activity is using fixed rotation, hasAnimatingFixedRotationTransition() will return true because the inTransition() also includes activity from display. That causes the fixed rotation not to complete for finishing recents transition. Case 2: Launch a landscape app from portrait home. Before the opening animation is finished, use gesture navigation to swipe up from bottom and drag back to the bottom. So the transient-hide root task and its activities are still visible at the end state. Because only root task is collected, its activities still need to add into participants so the transition finish callback can receive the activity record to complete the fixed rotation and continue the display rotation. Fix: 296780012 Test: atest DisplayContentTests# \ testFinishFixedRotationNoAppTransitioningTask Change-Id: I55d4dbc2da5f97e41a8fff9aac189edcf48f68e5
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions