Merge "Fix phone shows incorrect pairing code in pairing dialog" into sc-v2-dev am: 3f5d3cc0f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16183665 Change-Id: If4876e9ebcfc670202d73a03d96a4632850546f4
This commit is contained in:
@@ -188,7 +188,8 @@ public final class BluetoothPairingService extends Service {
|
|||||||
}
|
}
|
||||||
|
|
||||||
PendingIntent pairIntent = PendingIntent.getService(this, 0, pairingDialogIntent,
|
PendingIntent pairIntent = PendingIntent.getService(this, 0, pairingDialogIntent,
|
||||||
PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_IMMUTABLE);
|
PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_UPDATE_CURRENT
|
||||||
|
| PendingIntent.FLAG_IMMUTABLE);
|
||||||
|
|
||||||
Intent serviceIntent = new Intent(ACTION_DISMISS_PAIRING);
|
Intent serviceIntent = new Intent(ACTION_DISMISS_PAIRING);
|
||||||
serviceIntent.setClass(this, BluetoothPairingService.class);
|
serviceIntent.setClass(this, BluetoothPairingService.class);
|
||||||
|
Reference in New Issue
Block a user