diff options
| author | 2017-05-25 18:32:40 -0700 | |
|---|---|---|
| committer | 2017-06-01 11:32:49 -0700 | |
| commit | ea0eb5f5813d63283d9b069510418e495d4cc137 (patch) | |
| tree | 31d2cf4cf01022385df2c543d5e16dfe92d878bf /libs/hwui/ProgramCache.cpp | |
| parent | d2638591d963ef45f8f90886252279c497d5d1af (diff) | |
Delay notification vibration to synchronize with notif sound
Delay the vibration associated with a notification by the length
of the ramp time preceding a notification sound. Do this only
for notifications that play a sound.
Tests: verify that calls to Vibrator.vibrate() method are within the
max delay that could be applied to a notification sound/vibration.
Test: play notification with vibration, verify vibration syncs with sound
Test: runtest systemui-notification
Bug: 35152866
Change-Id: I571eb5620d654265d19f45aca2073e8ccc4799df
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions