Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b13abc03 authored by Alice Kuo's avatar Alice Kuo
Browse files

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
parent 0d11fd07
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -329,8 +329,8 @@
    <!-- UI debug setting: Disable Bluetooth A2DP hardware offload [CHAR LIMIT=none] -->
    <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] -->
    <string name="bluetooth_disable_le_audio_hw_offload">Disable Bluetooth LE AUDIO hardware offload</string>
    <!-- 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>
    <!-- UI debug setting: Disable Bluetooth hardware offload [CHAR LIMIT=none] -->
    <string name="bluetooth_disable_hw_offload_dialog_title">Restart Device?</string>
    <!-- UI debug setting: Disable Bluetooth hardware offload [CHAR LIMIT=none] -->
@@ -341,9 +341,9 @@
    <string name="bluetooth_disable_hw_offload_dialog_cancel">Cancel</string>
    <!-- Setting Checkbox title for enabling Bluetooth LE Audio feature. [CHAR LIMIT=40] -->
    <string name="bluetooth_enable_leaudio">Enable LE Audio</string>
    <!-- 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">Enable Bluetooth LE audio</string>
    <!-- Summary of checkbox for enabling Bluetooth LE audio [CHAR LIMIT=none]-->
    <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]-->
    <string name="connected_device_media_device_title">Media devices</string>
+4 −4
Original line number Diff line number Diff line
@@ -312,14 +312,14 @@
            android:title="@string/bluetooth_enable_leaudio"
            android:summary="@string/bluetooth_enable_leaudio_summary" />

        <SwitchPreference
            android:key="bluetooth_disable_a2dp_hw_offload"
            android:title="@string/bluetooth_disable_a2dp_hw_offload" />

        <SwitchPreference
            android:key="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
            android:key="bluetooth_select_avrcp_version"
            android:title="@string/bluetooth_select_avrcp_version_string"