diff options
| author | 2023-03-31 16:31:47 +0000 | |
|---|---|---|
| committer | 2023-04-05 13:18:25 +0000 | |
| commit | 9da476b39ecd73e6351db6544a10ba8e4a564fcd (patch) | |
| tree | 4b0111842eecc99069e303e8dadfbc75ce02162e /tests/DynamicCodeLoggerIntegrationTests/src | |
| parent | 6ed71b9057253a94f8d8d5df8bd2e482df6b878f (diff) | |
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
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions