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