From 10773b4d4d7d11c1d4197de0277e57f4f6848e3a Mon Sep 17 00:00:00 2001 From: PauloftheWest Date: Tue, 16 Sep 2014 12:29:17 -0700 Subject: [PATCH] Removed an extraneous messge when pairing. + When two devices are executing Bluetooth simply pairing, which does not need keyboard input, the message "Type the pairing code then press Return or Enter." has been removed. + Note that in legacy pairing the message to type in the pairing key should remain even if the user is only verifying the key. The reason is that we are not able to guarantee the other device does not have to input the key. + Also updated pin entry to Material/Quantum specification. Bug: 17400402 Change-Id: I7853fa13835f7f60d0e71102de9a079708f3544e --- res/layout/bluetooth_pin_confirm.xml | 1 + res/layout/bluetooth_pin_entry.xml | 3 ++- src/com/android/settings/bluetooth/BluetoothPairingDialog.java | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/res/layout/bluetooth_pin_confirm.xml b/res/layout/bluetooth_pin_confirm.xml index 241bedc5a65..08f5d9fc56e 100644 --- a/res/layout/bluetooth_pin_confirm.xml +++ b/res/layout/bluetooth_pin_confirm.xml @@ -24,6 +24,7 @@ diff --git a/res/layout/bluetooth_pin_entry.xml b/res/layout/bluetooth_pin_entry.xml index 7161342ab7b..6f50cd42241 100644 --- a/res/layout/bluetooth_pin_entry.xml +++ b/res/layout/bluetooth_pin_entry.xml @@ -84,7 +84,8 @@ android:layout_marginStart="@dimen/bluetooth_dialog_padding" android:layout_marginEnd="@dimen/bluetooth_dialog_padding" android:gravity="center_vertical" - android:textAppearance="?android:attr/textAppearanceMedium" /> + android:textAppearance="@android:style/TextAppearance.Material.Subhead" + android:textColor="@*android:color/secondary_text_material_light"/>