diff --git a/res/values/strings.xml b/res/values/strings.xml index 19bf0ce57f1..ffa73b35a6b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -258,11 +258,11 @@ %1$s is visible to nearby devices while Bluetooth settings is open. - Your phone\'s Bluetooth address: %1$s + Phone\'s Bluetooth address: %1$s - Your tablet\'s Bluetooth address: %1$s + Tablet\'s Bluetooth address: %1$s - Your device\'s Bluetooth address: %1$s + Device\'s Bluetooth address: %1$s Disconnect %1$s? @@ -387,7 +387,7 @@ %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 to other devices as: ^1 + Visible as \'^1\' to other devices Your devices diff --git a/tests/robotests/src/com/android/settings/bluetooth/BluetoothDeviceNamePreferenceControllerTest.java b/tests/robotests/src/com/android/settings/bluetooth/BluetoothDeviceNamePreferenceControllerTest.java index 7c1fc1cc459..d6077d8facb 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 to other devices as: Nightshade"); + .isEqualTo("Visible as 'Nightshade' to other devices"); // Test summary only has one color span assertThat(spans).asList().hasSize(1);