summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Massimo Carli <mcarli@google.com> 2022-11-23 13:48:01 +0000
committer Mariia Sandrikova <mariiasand@google.com> 2022-12-16 14:15:21 +0000
commitcc2d539e801ab7aa748c780c41c1a1569bdd112c (patch)
treeaeba6e0a4553dae5851aec98d241a19d1cdd786e /libs/androidfw/StringPool.cpp
parent92f296295704d7375a2b784b6d0cbea701c54525 (diff)
Respect "nosensor" and "locked" with ignoreOrientationRequest being set
In this implementation, we always resolve the orientation for a component as the ignoreOrientationRequest was disabled. We then use the actual flag when deciding the display orientation and when querying from a descendent to handle the orientation change itself. Main use case why this is important is Camera apps that rely on those properties to ensure that they will be able to determine Camera preview orientation correctly Fixes:254691921 Test: run `atest WmTests:ActivityRecordTests WmTests:TaskTests WmTests:WindowContainerTests` Change-Id: I96dca18a561e2acf961a462d3a4db484f003be6f Merged-In: I96dca18a561e2acf961a462d3a4db484f003be6f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions