Skip to content
Commit 31b731c2 authored by Graciela Wissen Putri's avatar Graciela Wissen Putri Committed by Graciela Putri
Browse files

Prevent orientation request loop in override

MUST_SLEEP

Ignore any orientation requests if activity is not letterboxed for fixed
orientation and aspect ratio and activity already requests
orientation change more than twice. Logic is behind per-app
OVERRIDE_ENABLE_COMPAT_IGNORE_ORIENTATION_REQUEST_WHEN_LOOP_DETECTED.

Bug: 273509367

Test: atest WmTests:LetterboxUiControllerTest
Change-Id: I72e8c9faf191c0ae819b409a3906da28389e72e6
parent 106aa99d
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