Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev am: 8e70a2826e

am: 0dbbaeddd7

Change-Id: Ifd3b5181449c93cb63b71421c739b1433a1ddc9b
This commit is contained in:
Alexey Kuzmin
2019-08-21 13:14:00 -07:00
committed by android-build-merger

View File

@@ -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: