Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dc6ca23b authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 5918648b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment