Modify connectivty related strings
Change-Id: I971c5f68ff3d881ad0285f87ab868a204edc9b7f Fixes: 73960246 Test: Manual test & make RunSettingsRoboTests
This commit is contained in:
@@ -1578,7 +1578,7 @@
|
||||
<!-- Bluetooth settings: The sub heading for devices which have already been paired with this device. [CHAR LIMIT=40] -->
|
||||
<string name="bluetooth_preference_paired_devices">Paired devices</string>
|
||||
<!-- Bluetooth settings: The sub heading for available devices during and after scanning. [CHAR LIMIT=40] -->
|
||||
<string name="bluetooth_preference_found_devices">Available devices</string>
|
||||
<string name="bluetooth_preference_found_media_devices">Available media devices</string>
|
||||
<!-- Bluetooth settings: The message displayed if no Bluetooth devices were found. [CHAR LIMIT=40] -->
|
||||
<string name="bluetooth_preference_no_found_devices">No devices available</string>
|
||||
<!-- Bluetooth settings. Context menu item for a device. Action will connect to all profiles on the device. -->
|
||||
@@ -9538,4 +9538,7 @@
|
||||
<!-- Summary for battery Suggestion. [CHAR LIMIT=55] -->
|
||||
<string name="battery_suggestion_summary"></string>
|
||||
|
||||
<!-- Title for detail page of wifi network [CHAR LIMIT=30] -->
|
||||
<string name="pref_title_network_details">Network details</string>
|
||||
|
||||
</resources>
|
||||
|
@@ -148,7 +148,7 @@ public class BluetoothPairingDetail extends DeviceListPreferenceFragment impleme
|
||||
mLocalAdapter.setBluetoothEnabled(true);
|
||||
|
||||
addDeviceCategory(mAvailableDevicesCategory,
|
||||
R.string.bluetooth_preference_found_devices,
|
||||
R.string.bluetooth_preference_found_media_devices,
|
||||
BluetoothDeviceFilter.UNBONDED_DEVICE_FILTER, mInitialScanStarted);
|
||||
updateFooterPreference(mFooterPreference);
|
||||
mAlwaysDiscoverable.start();
|
||||
|
@@ -876,7 +876,7 @@ public class WifiSettings extends RestrictedSettingsFragment
|
||||
|
||||
private void launchNetworkDetailsFragment(ConnectedAccessPointPreference pref) {
|
||||
new SubSettingLauncher(getContext())
|
||||
.setTitle(pref.getTitle())
|
||||
.setTitle(getContext().getString(R.string.pref_title_network_details))
|
||||
.setDestination(WifiNetworkDetailsFragment.class.getName())
|
||||
.setArguments(pref.getExtras())
|
||||
.setSourceMetricsCategory(getMetricsCategory())
|
||||
|
@@ -114,7 +114,7 @@ public class BluetoothPairingDetailTest {
|
||||
mFragment.updateContent(BluetoothAdapter.STATE_ON);
|
||||
|
||||
verify(mFragment).addDeviceCategory(mAvailableDevicesCategory,
|
||||
R.string.bluetooth_preference_found_devices,
|
||||
R.string.bluetooth_preference_found_media_devices,
|
||||
BluetoothDeviceFilter.UNBONDED_DEVICE_FILTER, false);
|
||||
verify(mLocalAdapter).setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user