diff options
| author | 2024-09-25 16:39:00 +0100 | |
|---|---|---|
| committer | 2024-09-26 12:35:38 +0100 | |
| commit | e303f8e38e06140c77f35d9d95c8a4bec7725e04 (patch) | |
| tree | a6c75db574901913d43d140b2cf6fc78242f3c3c /libs/androidfw/ApkParsing.cpp | |
| parent | d4ea4434f721565ba77e0922986509bdddb76c3e (diff) | |
Report audio-coupled haptics in Vibrator.isVibrating
Update VibratorController to set the isVibrating flag to true when the
vibrator enters external control. Starting from that point the audio
framework is free to send data to the vibrator motor directly, so the
service should reflect this state.
This will affect both the Vibrator.isVibrating and
OnVibratorStateChangedListener APIs.
Fix: 348589406
Flag: EXEMPT small bug fix
Test: VibratorControllerTest
Change-Id: I376c6c5773a3d5303bebe0a6e1c48121bf4e8ce8
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions