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

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

Remove imprecise condition of orientation update by translucent activity

The change I4fce2f84254875d0b52252d428000d39f994f14b is enough to
handle the the removed logic in a more precise way.

This avoids clearing rotation transform too early by a translucent
trampoline activity, e.g. portrait activity (X) ->
 landscape translucent activity (Y) -> landscape opaque activity (Z).
Because "r.fillsParent()" is false for (Y), it continues to update
orientation and clear (Z)'s rotation transform. That causes (Z) to
receive extra landscape->portrait->landscape configuration change.

Bug: 390049399
Flag: EXEMPT bugfix
Test: DisplayContentTests#testRespectNonTopVisibleFixedOrientation
Change-Id: I843bee77fef4d0a0b55fef762ce04a512bca7392
parent 32521fd2
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