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
Loading
Please register or sign in to comment
