summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Massimo Carli <mcarli@google.com> 2023-03-06 15:45:02 +0000
committer Massimo Carli <mcarli@google.com> 2023-03-17 13:50:33 +0000
commit65ffa6db9273a762eac15b9326ad0277c4d9196b (patch)
treefd645ffa5841be6aa238fdd1b9600d3bddb45ca8 /libs/androidfw/FileStream.cpp
parent05557900e4ecb5c09efe4665a2b66f3ce007ad6a (diff)
Force Kids app to use LANDSCAPE when in REVERSE_LANDSCAPE
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" orientation with "landscape" 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: I85688413571478f5acaa340624bb470f5aeb422f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions