diff options
| author | 2024-07-31 12:20:06 -0700 | |
|---|---|---|
| committer | 2024-08-05 18:52:14 +0000 | |
| commit | 7fdb8fd0a11853824a1ea41a17439d144ff7fe7c (patch) | |
| tree | 2d34a0a358d503662e44e4a63ac059a6ea9e99c1 /libs/input/PointerController.cpp | |
| parent | f80b9cda222ebccad28fd5f0d48b34a9065c7f0c (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