Dismiss notification shade when pairing dialog shown.

Test: atest BluetoothPairingDialogTest
Bug: 307941039
Change-Id: I23eceb846045dba79bf660a32a669f924ab72492
This commit is contained in:
Haijie Hong
2024-03-29 17:46:10 +08:00
parent 70272cdcde
commit 4a7f329862

View File

@@ -105,6 +105,8 @@ public class BluetoothPairingDialog extends FragmentActivity {
registerReceiver(mReceiver, new IntentFilter(BluetoothDevice.ACTION_PAIRING_CANCEL));
registerReceiver(mReceiver, new IntentFilter(BluetoothDevice.ACTION_BOND_STATE_CHANGED));
mReceiverRegistered = true;
closeSystemDialogs();
}
@Override