Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8e70a2826e
@@ -1188,6 +1188,7 @@ public class VibratorService extends IVibratorService.Stub
|
|||||||
private static boolean isNotification(int usageHint) {
|
private static boolean isNotification(int usageHint) {
|
||||||
switch (usageHint) {
|
switch (usageHint) {
|
||||||
case AudioAttributes.USAGE_NOTIFICATION:
|
case AudioAttributes.USAGE_NOTIFICATION:
|
||||||
|
case AudioAttributes.USAGE_NOTIFICATION_EVENT:
|
||||||
case AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_REQUEST:
|
case AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_REQUEST:
|
||||||
case AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_INSTANT:
|
case AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_INSTANT:
|
||||||
case AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_DELAYED:
|
case AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_DELAYED:
|
||||||
|
|||||||
Reference in New Issue
Block a user