summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLais Andrade <lsandrade@google.com>2021-05-07 16:52:17 +0100
committerLais Andrade <lsandrade@google.com>2021-05-21 11:32:12 +0100
commit9b209d5690e5d0cd45232f76d59747a5015bcd35 (patch)
tree8187243b95d332a383c05d30e29c546f8daa6683 /tools/aapt2/java/JavaClassGenerator.cpp
parent33f631ad2a57aac9206d82eff300174a4f90052e (diff)
Add new default vibration for notifications
Use the new WaveformBuilder to create a new default vibration waveform that also changes the vibration frequency on devices that support it. Create VibratorHelper in notification package to extract interactions with the Vibrator service, the creation of VibrationEffect instances and loading the default and fallback vibrations, using the new pattern when possible. Also update NotificationRecord to store a built VibrationEffect instead of a amplitude-only waveform pattern. Fix: 186740660 Test: BuzzBeepBlinkTest NotificationRecordTest VibratorHelperTest Change-Id: I6c93eb729972abb7a0cfc2b6fd567606224f2f2b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions