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

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

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
parent ee38b7c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment