diff options
| author | 2024-07-09 11:36:00 -0600 | |
|---|---|---|
| committer | 2024-07-09 11:49:05 +0000 | |
| commit | 696064cf41dfed5461dd43026ed6d46851992244 (patch) | |
| tree | ff868e8a33084a4f9424723139fa107317560e53 /libs/androidfw/StringPool.cpp | |
| parent | ee38b7c0b3ef75aa31666f19d51d6a81de2246f1 (diff) | |
Add support for keeping fixed orientation of non-top visible app
Originally, when launching a portrait dialog style activity on top
of a fixed landscape activity, the display will rotate to portrait
and all visible activities will follow the same orientation. Which
could cause the landscape activity to show distorted content.
This change applies fixed rotation for the non-top visible activity
with fixed orientation, so it can keep the original appearance.
http://recall/-/b2qm27pJZxFIWQccA9qE9Q/b4bg3e2gdgK1rHU0ZUNHJJ
Bug: 283514860
Flag: com.android.window.flags.respect_non_top_visible_fixed_orientation
Test: DisplayContentTests#testRespectNonTopVisibleFixedOrientation
Test: Launch a fixed orientation translucent on another
non-translucent activity with a different fixed orientation.
The configuration of non-translucent activity should respect
its original requested orientation.
Change-Id: I29be3098ea5b6393f2c13a343293109a409e1ee6
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions