summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2021-08-20 16:09:32 -0700
committer Prabir Pradhan <prabirmsp@google.com> 2021-08-20 16:16:49 -0700
commitac1c74fec2d6a7a613ad298d818c42501e6c3d3e (patch)
tree972a39e7253bb7623afec915ce2297d489c94208 /libs/gui/BLASTBufferQueue.cpp
parenta85519f1af1f32a97e10c7f4a32e07f41e90e1fe (diff)
Add orientation configuration for touchscreen devices
There are many instances where devices have display panels installed in a different orientation than the device's default orientation. In these cases, there is an SF flag to change the device's default orientation, using ro.surface_flinger.primary_display_orientation. However, when that is used, the touchscreens don't work in the expected orientation. This CL adds the ability to configure the orientation of a touchscreen device using an Input Device Configuration (IDC) file. Bug: 196357204 Test: atest inputflinger_tests Test: manual: ensure touch works as expected with ro.sf.primary_display_orientation and touch.orientation set to 90 Change-Id: I1267f2b3fdb6faaef2923789bcaf5a6141971431
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions