Unify the LE audio string and refine the layout to put LE audio switch together
Screenshot: https://screenshot.googleplex.com/A6PwLhscRUypgYK
Bug: 233018305
Bug: 233005340
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioPreferenceControllerTest
Test: switch LE audio feature, and check LE audio functionality status
Change-Id: I2d650eb315790c3efc7510d9e125aeaf4464cda6
Merged-In: I2d650eb315790c3efc7510d9e125aeaf4464cda6
(cherry picked from commit b13abc03dd
)
This commit is contained in:
@@ -342,8 +342,8 @@
|
|||||||
|
|
||||||
<!-- UI debug setting: Disable Bluetooth A2DP hardware offload [CHAR LIMIT=none] -->
|
<!-- UI debug setting: Disable Bluetooth A2DP hardware offload [CHAR LIMIT=none] -->
|
||||||
<string name="bluetooth_disable_a2dp_hw_offload">Disable Bluetooth A2DP hardware offload</string>
|
<string name="bluetooth_disable_a2dp_hw_offload">Disable Bluetooth A2DP hardware offload</string>
|
||||||
<!-- UI debug setting: Disable Bluetooth LE AUDIO hardware offload [CHAR LIMIT=none] -->
|
<!-- UI debug setting: Disable Bluetooth LE audio hardware offload [CHAR LIMIT=none] -->
|
||||||
<string name="bluetooth_disable_le_audio_hw_offload">Disable Bluetooth LE AUDIO hardware offload</string>
|
<string name="bluetooth_disable_le_audio_hw_offload">Disable Bluetooth LE audio hardware offload</string>
|
||||||
<!-- UI debug setting: Disable Bluetooth hardware offload [CHAR LIMIT=none] -->
|
<!-- UI debug setting: Disable Bluetooth hardware offload [CHAR LIMIT=none] -->
|
||||||
<string name="bluetooth_disable_hw_offload_dialog_title">Restart Device?</string>
|
<string name="bluetooth_disable_hw_offload_dialog_title">Restart Device?</string>
|
||||||
<!-- UI debug setting: Disable Bluetooth hardware offload [CHAR LIMIT=none] -->
|
<!-- UI debug setting: Disable Bluetooth hardware offload [CHAR LIMIT=none] -->
|
||||||
@@ -354,9 +354,9 @@
|
|||||||
<string name="bluetooth_disable_hw_offload_dialog_cancel">Cancel</string>
|
<string name="bluetooth_disable_hw_offload_dialog_cancel">Cancel</string>
|
||||||
|
|
||||||
<!-- Setting Checkbox title for enabling Bluetooth LE Audio feature. [CHAR LIMIT=40] -->
|
<!-- Setting Checkbox title for enabling Bluetooth LE Audio feature. [CHAR LIMIT=40] -->
|
||||||
<string name="bluetooth_enable_leaudio">Enable LE Audio</string>
|
<string name="bluetooth_enable_leaudio">Enable Bluetooth LE audio</string>
|
||||||
<!-- Summary of checkbox for enabling Bluetooth le audio [CHAR LIMIT=none]-->
|
<!-- Summary of checkbox for enabling Bluetooth LE audio [CHAR LIMIT=none]-->
|
||||||
<string name="bluetooth_enable_leaudio_summary">Enables the Bluetooth LE Audio feature if this device supports LE audio hardware capabilities.</string>
|
<string name="bluetooth_enable_leaudio_summary">Enables Bluetooth LE audio feature if the device supports LE audio hardware capabilities.</string>
|
||||||
|
|
||||||
<!-- Title for Bluetooth device group with media capability group [CHAR LIMIT=none]-->
|
<!-- Title for Bluetooth device group with media capability group [CHAR LIMIT=none]-->
|
||||||
<string name="connected_device_media_device_title">Media devices</string>
|
<string name="connected_device_media_device_title">Media devices</string>
|
||||||
|
@@ -324,14 +324,14 @@
|
|||||||
android:title="@string/bluetooth_enable_leaudio"
|
android:title="@string/bluetooth_enable_leaudio"
|
||||||
android:summary="@string/bluetooth_enable_leaudio_summary" />
|
android:summary="@string/bluetooth_enable_leaudio_summary" />
|
||||||
|
|
||||||
<SwitchPreference
|
|
||||||
android:key="bluetooth_disable_a2dp_hw_offload"
|
|
||||||
android:title="@string/bluetooth_disable_a2dp_hw_offload" />
|
|
||||||
|
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:key="bluetooth_disable_le_audio_hw_offload"
|
android:key="bluetooth_disable_le_audio_hw_offload"
|
||||||
android:title="@string/bluetooth_disable_le_audio_hw_offload" />
|
android:title="@string/bluetooth_disable_le_audio_hw_offload" />
|
||||||
|
|
||||||
|
<SwitchPreference
|
||||||
|
android:key="bluetooth_disable_a2dp_hw_offload"
|
||||||
|
android:title="@string/bluetooth_disable_a2dp_hw_offload" />
|
||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
android:key="bluetooth_select_avrcp_version"
|
android:key="bluetooth_select_avrcp_version"
|
||||||
android:title="@string/bluetooth_select_avrcp_version_string"
|
android:title="@string/bluetooth_select_avrcp_version_string"
|
||||||
|
Reference in New Issue
Block a user