summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Oleg Blinnikov <olb@google.com> 2024-03-09 22:38:44 +0000
committer Oleg Blinnikov <olb@google.com> 2024-03-13 16:56:36 +0000
commitb84f973f20d3929b1bc6a113815bbe0b655e9f81 (patch)
tree2561e6245aef189a2b10d9833c1b892d8cc991ae /libs/androidfw/StringPool.cpp
parent670ec4a109fb0d0839e419d965027efadea28747 (diff)
Fix user rotation of display devices
Previously calling wm user-rotation adb command for non-default display resulted into a non-rotated shifted picture. With this CL, DM will always take the rotation supplied by WM and set it to the surface flinger projection. Also to fix the shifted picture after rotation, there is an additional call to ContentRecorder.onConfigurationChanged. VirtualDisplay surface size previously did not take the possible rotation into account, this CL fixes this - important for Chromecast. Change-Id: I6f3a86a97ba81413aa480a763307ac9109585c6f Bug: 302326003 Bug: 322480626 Test: adb shell setprop persist.demo.userrotation 1 Test: adb shell wm user-rotation -d ${DISPLAYID} lock 1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions