summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Biswarup Pal <biswarupp@google.com> 2024-08-22 09:12:19 +0000
committer Biswarup Pal <biswarupp@google.com> 2024-08-22 09:13:35 +0000
commitb08159b4fff065c4d9397fbeeff8de884a212758 (patch)
tree7735c7ae488bd0a1ebb67a611d92b63a23773999 /libs/gui/LayerDebugInfo.cpp
parenta21dc6fe8bfa2258f0cf3f3cd11a665e5dc2ada7 (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: 361324951 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9ce4d9ff277bb196cb816214d726a0019383c91f) Merged-In: I5f67bd24730c63473260ff8a630bbdc90325d375 Change-Id: I5f67bd24730c63473260ff8a630bbdc90325d375
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions