summaryrefslogtreecommitdiffstats
path: root/services/core
diff options
context:
space:
mode:
Diffstat (limited to 'services/core')
-rw-r--r--services/core/java/com/android/server/notification/NotificationManagerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java
index b2b6580..052d010 100644
--- a/services/core/java/com/android/server/notification/NotificationManagerService.java
+++ b/services/core/java/com/android/server/notification/NotificationManagerService.java
@@ -2735,7 +2735,7 @@ public class NotificationManagerService extends SystemService {
boolean canBeep = readyForBeepOrBuzz && canInterrupt;
boolean canBuzz = readyForBeepOrBuzz &&
- (canInterrupt || mZenModeHelper.allowVibrationForNotifications());
+ (canInterrupt || (aboveThreshold && mZenModeHelper.allowVibrationForNotifications()));
boolean hasValidSound = false;
if (canBeep || canBuzz) {