Merge "Make data warning notification heads up." into nyc-mr1-dev

This commit is contained in:
Sanket Padawe
2016-08-12 01:38:44 +00:00
committed by Android (Google) Code Review

View File

@@ -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(