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 Massimo Carli <mcarli@google.com> 2022-12-16 08:36:18 +0000
commit4b038dd78f97a7e37e2db078da69a32ef1a469ca (patch)
treefd55b08a30488114bb11bba21155f72b7664a899 /libs/androidfw/StringPool.cpp
parentf9bfa03273aa5716530091439763e5d5673736cb (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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions