Merge "Fix the non-working DND toggle" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
53124fa7b3
@@ -150,6 +150,6 @@ public class ZenModeSliceBuilder {
|
|||||||
final Intent intent = new Intent(ACTION_ZEN_MODE_SLICE_CHANGED)
|
final Intent intent = new Intent(ACTION_ZEN_MODE_SLICE_CHANGED)
|
||||||
.setClass(context, SliceBroadcastReceiver.class);
|
.setClass(context, SliceBroadcastReceiver.class);
|
||||||
return PendingIntent.getBroadcast(context, 0 /* requestCode */, intent,
|
return PendingIntent.getBroadcast(context, 0 /* requestCode */, intent,
|
||||||
PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE);
|
PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_MUTABLE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user