BluetoothDialog view fixed for no pair code case
BluetoothPairingDialog no longer asks for a pair code when the user only needs to confirm that they would like to connect to a device. Also, the layout padding was updated a bit to make it look nicer. Test: RunSettingsRoboTests Bug: 31340598 Change-Id: I9394fcd53dffcff9a17fbafabdce0e94ae88fba2
This commit is contained in:
@@ -309,6 +309,8 @@ public final class BluetoothPairingDialog extends AlertActivity implements
|
||||
break;
|
||||
|
||||
case BluetoothDevice.PAIRING_VARIANT_CONSENT:
|
||||
messagePairing.setVisibility(view.GONE);
|
||||
break;
|
||||
case BluetoothDevice.PAIRING_VARIANT_OOB_CONSENT:
|
||||
messagePairing.setVisibility(View.VISIBLE);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user