diff options
| author | 2025-01-16 13:04:30 +0800 | |
|---|---|---|
| committer | 2025-01-16 13:04:30 +0800 | |
| commit | e6da6c1eb9b7ca2d79e8d0355030a8c0c97ce762 (patch) | |
| tree | 40fe46fd5f2800d87df0355305dcb9bb00eb9073 /libs/androidfw/ApkParsing.cpp | |
| parent | 32521fd27e509c62e1195e73f4d917ef26aa1dae (diff) | |
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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions