Skip to content

Commit 1763e31

Browse files
committed
Use inQuietHours from QuietHoursUtils fix derp @91d8a58
1 parent 8887826 commit 1763e31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/Keyguard/src/com/android/keyguard/NotificationViewManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public void onNotificationPosted(final StatusBarNotification sbn) {
192192
config.forceExpandedView);
193193
if (added && config.wakeOnNotification && screenOffAndNotCovered
194194
&& showNotification && mTimeCovered == 0
195-
&& !inQuietHours()) {
195+
&& !QuietHoursUtils.inQuietHours(mContext, Settings.System.QUIET_HOURS_DIM)) {
196196
wakeDevice();
197197
mHostView.showAllNotifications();
198198
}

0 commit comments

Comments
 (0)