diff options
| author | 2019-08-21 13:14:03 -0700 | |
|---|---|---|
| committer | 2019-08-21 13:14:03 -0700 | |
| commit | aee7203c404762cc5d5893dc87e362808f29e9ed (patch) | |
| tree | 1eb4b5bd41ed75daa788dcc959615ed8899e89a0 | |
| parent | 1117253913047c86b07d1d45a1de75481e3bfccd (diff) | |
| parent | 323b7e6f9c2790c75a56e099134df5292043a8cd (diff) | |
Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev am: 8e70a2826e
am: 323b7e6f9c
Change-Id: Iaf3cdf48b5878cef26d025330126d1b3374efd39
| -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: |