diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2019-08-21 19:04:49 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-08-21 19:04:49 +0000 |
commit | 8e70a2826e01a529967f5b501512d7ce445ba2f6 (patch) | |
tree | 29d2bc8d5cae1e7bafc62ea814a91f20cdc2ccc9 | |
parent | 5ca4cef9b5ba786bd2ecdb6043de87be6040d7df (diff) | |
parent | a5f043a6a0845b23a203c973482a4126f65fc51e (diff) | |
download | base-8e70a2826e01a529967f5b501512d7ce445ba2f6.tar.gz |
Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev
-rw-r--r-- | services/core/java/com/android/server/VibratorService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/VibratorService.java b/services/core/java/com/android/server/VibratorService.java index 07482796b027..9936d73fb800 100644 --- a/services/core/java/com/android/server/VibratorService.java +++ b/services/core/java/com/android/server/VibratorService.java @@ -1188,6 +1188,7 @@ public class VibratorService extends IVibratorService.Stub private static boolean isNotification(int usageHint) { switch (usageHint) { case AudioAttributes.USAGE_NOTIFICATION: + case AudioAttributes.USAGE_NOTIFICATION_EVENT: case AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_REQUEST: case AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_INSTANT: case AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_DELAYED: |