summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author Yeabkal Wubshit <yeabkal@google.com> 2022-06-26 02:28:21 +0000
committer Yeabkal Wubshit <yeabkal@google.com> 2024-02-01 22:34:14 +0000
commitdf6bb0cf6ae9859730829bec8fa46e592d11d31d (patch)
tree05287e8bb2c4e56edac1d224b94d4e2371b58b2c /opengl/java
parente1e7c315cd91090c8bc29eed5403373b7290a539 (diff)
Create NotificationChannel#setVibrationEffect API
This API allows setting a VibrationEffect as the vibration for a notification channel. Before this API, only waveform vibration patterns with the default vibration amplitude were supported. All the other types of vibrations defined in Android, including waveforms with varying amplitude/frequency and primitive vibrations, were not supported. With this API, developers can directly set a VibrationEffect (the same object representing all vibrations in Android) to a notification channel, meaning that notifications can benefit from a much more diverse/nuanced set of possible notification buzzes! Bug: 241732519 Test: unit tests Change-Id: Ic2e3802316072ad043c34b91a9b3516dd1d4a41f
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions