diff options
| author | 2022-06-13 22:53:01 +0100 | |
|---|---|---|
| committer | 2022-06-16 16:10:22 +0100 | |
| commit | 8b1ce21a0742ccec094e790cb9d66be86c3f134a (patch) | |
| tree | fe6e1a19392d98784ae87d23cde554ddc71efb35 /libs/androidfw/StringPool.cpp | |
| parent | f40ea52d7e1685f42f67b661e9d64dfde31dc0cc (diff) | |
Update vibration cancellation policy for notifications
Touch feedback vibration (e.g. keyboard tap feedback) is consistently
cancelling ongoing notification vibrations, which creates a user
perceivable strange effect when a longer waveform is consistently
cancelled by the shorter click effect.
The notification vibrations in general should have a higher priority,
similar to rigtone and alarm vibrations, and not be cancelled when
lower priority vibrations like touch feedback are triggered.
Updating the prioritization to the following:
ringtone > alarm > notification > a11y > hardware feedbacks > others
Fix: 234100304
Test: VibrationManagerServiceTest
Change-Id: I6e356430d66cf0ea7403e0eb270dbdf6a13af0b9
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions