Merge "Bluetooth: Make notifications local-only" am: 348a7085fa

am: 620fe71520

Change-Id: I3df0a009c7fc6184ea1176f6953748c5031d76cd
This commit is contained in:
Marie Janssen
2017-06-22 15:41:55 +00:00
committed by android-build-merger
2 changed files with 3 additions and 1 deletions

View File

@@ -181,6 +181,7 @@ public final class BluetoothPermissionRequest extends BroadcastReceiver {
.setDeleteIntent(PendingIntent.getBroadcast(context, 0, deleteIntent, 0))
.setColor(context.getColor(
com.android.internal.R.color.system_notification_accent_color))
.setLocalOnly(true)
.build();
notification.flags |= Notification.FLAG_NO_CLEAR; // Cannot be set with the builder.