summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alexey Kuzmin <alexeykuzmin@google.com> 2019-08-21 12:49:11 -0700
committer android-build-merger <android-build-merger@google.com> 2019-08-21 12:49:11 -0700
commit0dbbaeddd7790411ccd946b574c4f3590f2ad3da (patch)
tree71ad998d2edf0ec689157c3413e108b58e73cf19
parent120715a56baf04e2371dbf3e04c4ec19d2ef72b9 (diff)
parent8e70a2826e01a529967f5b501512d7ce445ba2f6 (diff)
Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev
am: 8e70a2826e Change-Id: If163d5f269978e481935a9943b1cc72fbc4ff59d
-rw-r--r--services/core/java/com/android/server/VibratorService.java1
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: