Force Kids app to use sensorLandscape when in reverseLandscape
A few apps in Kids Space request "reverseLandscape" orientation when Display#getRotation returns ROTATION_270 expecting it to correspond to the seascape display orientation while it may correspond to the landscape one when config_reverseDefaultRotation is set to true. This CL overrides the "reverseLandscape" and "landscape" orientation with "sensorLandscape" in the context of apps running in the Kids space when config_reverseDefaultRotation is set to true Fixes: 265589619 Test: Run `atest WmTests:WindowManagerServiceTests` Run `atest WMShellUnitTests:KidsModeTaskOrganizerTest` Run `atest WmTests:LetterboxUiControllerTest` Change-Id: Iadfb840199df9b308df699a9ca18ac5332c2536f
Loading
Please register or sign in to comment