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

Commit afc7801d authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Ensure using AsyncRotationController when changing rotation quickly

There is a 250ms FIXED_ROTATION_HIDE_ANIMATION_DEBOUNCE_DELAY_MS to
defer the creation of AsyncRotationController when using gesture
to start recents activity in a different orientation. If the next
app launch happens in a short time to trigger orientation change,
the non-activity windows may show in wrong rotation because their
rotation transform are not handled.

Bug: 403394916
Flag: EXEMPT bugfix
Test: Swipe a landscape app to portrait home and launch the app
      again within 250ms. The system bars and display cutout
      shouldn't flicker on position of old rotation.
Change-Id: I5226ddd886c631168ede5ed22190085abec98069
parent 27c41e49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment