Merge "Update string for bluetooth device visibility" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c239561da5
@@ -387,7 +387,7 @@
|
||||
<string name="bluetooth_sap_acceptance_dialog_text"><xliff:g id="device_name">%1$s</xliff:g> 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 <xliff:g id="device_name">%2$s?</xliff:g></string>
|
||||
|
||||
<!-- Description for bluetooth device name summary [CHAR LIMIT=none] -->
|
||||
<string name="bluetooth_device_name_summary">Visible as \'<xliff:g id="device_name">^1</xliff:g>\' to other devices</string>
|
||||
<string name="bluetooth_device_name_summary">Visible as \"<xliff:g id="device_name">^1</xliff:g>\" to other devices</string>
|
||||
|
||||
<!-- Title for paired device group [CHAR LIMIT=none] -->
|
||||
<string name="bluetooth_paired_device_title">Your devices</string>
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user