diff --git a/res/values/strings.xml b/res/values/strings.xml
index d871df3334f..6e8a8842cef 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -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 as \'^1\' to other devices
+ 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 0aeff2d7308..d2254ff4416 100644
--- a/tests/robotests/src/com/android/settings/bluetooth/BluetoothDeviceNamePreferenceControllerTest.java
+++ b/tests/robotests/src/com/android/settings/bluetooth/BluetoothDeviceNamePreferenceControllerTest.java
@@ -72,8 +72,9 @@ public class BluetoothDeviceNamePreferenceControllerTest {
mController.updateDeviceName(mPreference, DEVICE_NAME);
final CharSequence summary = mPreference.getSummary();
+
assertThat(summary.toString())
- .isEqualTo("Visible as 'Nightshade' to other devices");
+ .isEqualTo("Visible as \"Nightshade\" to other devices");
assertThat(mPreference.isSelectable()).isFalse();
}