Separate natural display orientation for configuration
The usages of getNaturalOrientation in DisplayRotationCompatPolicy assumes that the orientation is based on the logical display size without considering insets. For example, Logical display size 2076x2152=portrait If the navigation bar occupies height 146. Then the available size for app is 2076x2006=landscape Fix: 323224894 Test: atest DisplayContentTests#testOrientationForAspectRatio Change-Id: I31f0660fa15b756020f7e2f3f675e50a35b86869
Loading
Please register or sign in to comment