Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d62423d3 authored by Alexey Kuzmin's avatar Alexey Kuzmin Committed by android-build-merger
Browse files

Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into...

Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev am: 8e70a282 am: 0dbbaedd
am: d6f5d899

Change-Id: Ia40892e0713a95fca06ad281840e509f7b779a73
parents fb07c6a1 d6f5d899
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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: