Files
frameworks_base/core/java/android/os
Lais Andrade f1786a74df Dedupe vibrator state in SystemVibrator callbacks
Add check for state change in SystemVibrator implementation for
OnVibratorStateChangedListener callbacks on devices with more than one
vibrator. The registered listener should be notified only once for
each state when any vibrator starts or stops vibrating.

Fix: 249727855
Test: android.os.VibratorTest
Change-Id: Ied46ad70186a2df1c7aa24ccf04e5e8e05824876
Merged-In: Ied46ad70186a2df1c7aa24ccf04e5e8e05824876
(cherry picked from commit e6aa36d092)
2022-10-27 11:35:33 +00:00
..
2022-02-18 19:35:01 +00:00
…