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:
Salvador Martinez
2016-09-30 13:59:30 -07:00
parent 9fc9f0f177
commit 4d279a56f5
3 changed files with 4 additions and 0 deletions

View File

@@ -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;