diff options
| author | 2019-08-21 12:47:17 -0700 | |
|---|---|---|
| committer | 2019-08-21 12:47:17 -0700 | |
| commit | 323b7e6f9c2790c75a56e099134df5292043a8cd (patch) | |
| tree | dcb27184f88073932c79a71e8ee7ee117a3c54e8 | |
| parent | ab45e744e6179d2dd41a2b91c2cf52ecc2cbf7b3 (diff) | |
| parent | 8e70a2826e01a529967f5b501512d7ce445ba2f6 (diff) | |
Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev
am: 8e70a2826e
Change-Id: I89fb24a3a3384f677786db4e7cc016bc2c5009d1
| -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: |