summaryrefslogtreecommitdiff
path: root/libs/battery/LongArrayMultiStateCounterTest.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2021-08-16 12:01:57 -0700
committer Prabir Pradhan <prabirmsp@google.com> 2021-08-18 18:06:02 +0000
commit31e76ed995d34768f5c4e124965f0f08a12cee5a (patch)
tree1c7412938de0d6c1fbfb80a1df195bf482979fc7 /libs/battery/LongArrayMultiStateCounterTest.cpp
parentfa82d490e8dce9d885a50d32ed4368cab8315ae6 (diff)
Undo rotation by physical orientation in WindowInfo transforms
Some devices have a their display panels installed in a different orientation than the expected default orientation. This can be configured through the build prop ro.surface_flinger.primary_display_orientation, or through other means. Input, framework, and other services are not concerned with the display panel orientation. In this CL, we rotate the transforms sent in WindowInfo by the inverse of the physical orientation, making the window transforms relative to WM's ROTATION_0 instead of the display panel orientation. Bug: 179274888 Bug: 195617582 Bug: 195586068 Test: manual with device that has a non-standard display panel installation Test: atest com.android.launcher3.ui.TaplTestsLauncher3 Change-Id: I727b22c004014355f337da2b753b61c5946667d0
Diffstat (limited to 'libs/battery/LongArrayMultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions