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

Commit 340ca9f1 authored by Chong Zhang's avatar Chong Zhang Committed by android-build-merger
Browse files

Merge "Allow to keep screen on only if window can be seen" into nyc-mr1-dev...

Merge "Allow to keep screen on only if window can be seen" into nyc-mr1-dev am: 305d610f am: 74670684
am: 541d028d

Change-Id: I095b6af71821585064f51f3a992293b21fabc742
parents 05a6cea2 541d028d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1050,6 +1050,8 @@ public class NetworkPolicyManagerService extends INetworkPolicyManager.Stub {
                builder.setTicker(title);
                builder.setContentTitle(title);
                builder.setContentText(body);
                builder.setDefaults(Notification.DEFAULT_ALL);
                builder.setPriority(Notification.PRIORITY_HIGH);

                final Intent snoozeIntent = buildSnoozeWarningIntent(policy.template);
                builder.setDeleteIntent(PendingIntent.getBroadcast(