summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Yeabkal Wubshit <yeabkal@google.com> 2024-07-31 12:20:06 -0700
committer Marvin Escobar Barajas <marvinescobar@google.com> 2024-08-05 18:52:14 +0000
commit7fdb8fd0a11853824a1ea41a17439d144ff7fe7c (patch)
tree2d34a0a358d503662e44e4a63ac059a6ea9e99c1 /libs/input/PointerController.cpp
parentf80b9cda222ebccad28fd5f0d48b34a9065c7f0c (diff)
Fix how HapticScrollFeedbackProvider resets input/motion states
The input device id, source, and axis fields were sometimes not updated properly, since the check for the rotary encoder haptic feedback availability preceded the update. So in cases where rotary encoder haptic feedback was unavailable, the fields were never updated, meaning that non-rotary scroll feedback was also blocked. Bug: 356665746 Flag: EXEMPT trivial bug fix Test: atest HapticScrollFeedbackProviderTest Change-Id: I5c96c57fe70b836afda2295568a1389195ee279d
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions