Merge "Fix phone shows incorrect pairing code in pairing dialog" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-11-08 07:34:32 +00:00
committed by Android (Google) Code Review

View File

@@ -188,7 +188,8 @@ public final class BluetoothPairingService extends Service {
}
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);
serviceIntent.setClass(this, BluetoothPairingService.class);