diff --git a/res/values/strings.xml b/res/values/strings.xml index 60fd8b0aad2..19bf0ce57f1 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -241,19 +241,30 @@ Rename - Disconnect? + Disconnect device? - This will end your connection with:<br><b>%1$s</b> + Your phone will disconnect from "%1$s." + + Your tablet will disconnect from "%1$s." + + Your device will disconnect from "%1$s." + + Disconnect You don\u2019t have permission to change Bluetooth settings. - Pair a new device + Pair new device %1$s is visible to nearby devices while Bluetooth settings is open. - Bluetooth MAC address: %1$s - + Your phone\'s Bluetooth address: %1$s + + Your tablet\'s Bluetooth address: %1$s + + Your device\'s Bluetooth address: %1$s + + Disconnect %1$s? Broadcasting @@ -276,8 +287,8 @@ Pairing request Tap to pair with %1$s. - - Show received files + + Received files Choose Bluetooth device @@ -376,12 +387,12 @@ %1$s wants to access your SIM card. Granting access to the SIM card will disable data connectivity on your device for the duration of the connection. Give access to %2$s? - Visible as ^1 to other devices + Visible to other devices as: ^1 Your devices - Pair bluetooth device + Pair new device Date & time @@ -1511,6 +1522,8 @@ still detect Bluetooth devices. You can change this in LINK_BEGINscanning settingsLINK_END. + + Couldn\'t connect. Try again. diff --git a/tests/robotests/src/com/android/settings/bluetooth/BluetoothDeviceNamePreferenceControllerTest.java b/tests/robotests/src/com/android/settings/bluetooth/BluetoothDeviceNamePreferenceControllerTest.java index 70a95ddfef0..7c1fc1cc459 100644 --- a/tests/robotests/src/com/android/settings/bluetooth/BluetoothDeviceNamePreferenceControllerTest.java +++ b/tests/robotests/src/com/android/settings/bluetooth/BluetoothDeviceNamePreferenceControllerTest.java @@ -94,7 +94,7 @@ public class BluetoothDeviceNamePreferenceControllerTest { final Object[] spans = ((SpannableStringBuilder) summary).getSpans(0, summary.length(), Object.class); assertThat(summary.toString()) - .isEqualTo("Visible as Nightshade to other devices"); + .isEqualTo("Visible to other devices as: Nightshade"); // Test summary only has one color span assertThat(spans).asList().hasSize(1);