Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7fdb8fd0 authored by Yeabkal Wubshit's avatar Yeabkal Wubshit Committed by Marvin Escobar Barajas
Browse files

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
parent f80b9cda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment