Make data warning notification heads up.
Bug: 30760683 Change-Id: Id3fed0a62936dddabcb169536a4a917d750259d7
This commit is contained in:
@@ -1074,6 +1074,8 @@ public class NetworkPolicyManagerService extends INetworkPolicyManager.Stub {
|
|||||||
builder.setTicker(title);
|
builder.setTicker(title);
|
||||||
builder.setContentTitle(title);
|
builder.setContentTitle(title);
|
||||||
builder.setContentText(body);
|
builder.setContentText(body);
|
||||||
|
builder.setDefaults(Notification.DEFAULT_ALL);
|
||||||
|
builder.setPriority(Notification.PRIORITY_HIGH);
|
||||||
|
|
||||||
final Intent snoozeIntent = buildSnoozeWarningIntent(policy.template);
|
final Intent snoozeIntent = buildSnoozeWarningIntent(policy.template);
|
||||||
builder.setDeleteIntent(PendingIntent.getBroadcast(
|
builder.setDeleteIntent(PendingIntent.getBroadcast(
|
||||||
|
|||||||
Reference in New Issue
Block a user