Don't send SCREEN_ORIENTATION_UNSET to apps.
SCREEN_ORIENTATION_UNSET is an internal implementation detail of how WM now handles WindowContainer requesting a specific orientation. The container will return SCREEN_ORIENTATION_UNSET for getOrientation method if it should affect the device orientation under specific conditions like when it isn't visible. However, we still want to return the requested app orientation if someone from outside WM asked for it regardless of if the app is visible or not. Bug: 33067025 Test: Adding a new document in the Drive app with the scan option doesn't crash. Change-Id: I53aee1afaa311994520f573139aea9a0d87bc8e6
Loading
Please register or sign in to comment