Merge "Make data warning notification heads up." into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
36879a9d82
@@ -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