summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorLais Andrade <lsandrade@google.com>2021-11-10 19:03:48 +0000
committerLais Andrade <lsandrade@google.com>2021-11-11 16:08:57 +0000
commit2bf7f520867d98b4ae4d08ccc4b4ff5e580fbc61 (patch)
tree46745572db72924f254eb978f11afba48ee0ca8c /core/java/android/inputmethodservice/InputMethodService.java
parentc912d07961d6f8cd7457f7ef38a11abe0a86d315 (diff)
Check for the vibrate notification key on delayed vibrations
Notifications played with sound have a delayed vibration, in order to match the vibration and sound effects. If the effects are cleared before the vibration starts, or a new one takes its place, then the vibration hould be cancelled because it no longer will be tracked by the NotificationManagerService.mVibrateNotificationKey. This can cause repeating vibrations, like incoming calls, to start and continue vibrating even after the notification was handled, (if the user opens the notification panel before it actually starts vibrating, for example). Fix: 202752953 Test: NotificationManagerServiceTest Change-Id: If3ed4a741e78058a321691acebe735c735542f16
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions