summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Biswarup Pal <biswarupp@google.com> 2024-06-14 15:05:27 +0000
committer Biswarup Pal <biswarupp@google.com> 2024-07-10 10:55:03 +0000
commit9ce4d9ff277bb196cb816214d726a0019383c91f (patch)
tree0c80f3394da121807647f1e82b588c8b19f81b81 /libs/gui/BLASTBufferQueue.cpp
parent41da946d8c62a36725a23872ab264cfed401520f (diff)
Update dependent properties when deviceType is updated
During TouchInputMapper configuration change, some properties such as mDisplayBounds, mRawToDisplay transform, etc are calculated based on the the deviceType of the input device. For VirtualNavigationTouchpad, these properties are not updated when the deviceType changes to "touchNavigation", resulting in wrong calculation of transforms. Hence, update these properties whenever deviceType changes during a configuration change. Test: atest SingleTouchInputMapperTest Test: atest android.hardware.input.cts.tests.VirtualDeviceMirrorDisplayTest#virtualNavigationTouchpad_touchEvent --iterations 100 Flag: EXEMPT minor fix Fixes: 337818012 Change-Id: I5f67bd24730c63473260ff8a630bbdc90325d375
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions