From b79d64ee9086631440b569414ab28111f0e1e6eb Mon Sep 17 00:00:00 2001 From: Patty Huang Date: Fri, 31 Mar 2023 11:33:52 +0800 Subject: [PATCH] Rename toggle "Enable Bluetooth LE audio" to "Disable Bluetooth LE audio" Bug: 275388899 Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioPreferenceControllerTest Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioAllowListPreferenceControllerTest Change-Id: Ic936eb22aa4f6efd97d3a84b23a44fab83dd09a0 --- res/values/strings.xml | 8 ++++---- res/xml/development_settings.xml | 6 +++--- ...hLeAudioAllowListPreferenceController.java | 19 +++---------------- .../BluetoothLeAudioPreferenceController.java | 16 ++++++++-------- ...etoothLeAudioPreferenceControllerTest.java | 14 +++++++------- 5 files changed, 25 insertions(+), 38 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index f942ba99785..03184b9ae95 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -360,10 +360,10 @@ Cancel - - Enable Bluetooth LE audio - - Enables Bluetooth LE audio feature if the device supports LE audio hardware capabilities. + + Disable Bluetooth LE audio + + Disables Bluetooth LE audio feature if the device supports LE audio hardware capabilities. Enable Bluetooth LE audio Allow List diff --git a/res/xml/development_settings.xml b/res/xml/development_settings.xml index 8cdb388e987..998b1e2eae2 100644 --- a/res/xml/development_settings.xml +++ b/res/xml/development_settings.xml @@ -340,9 +340,9 @@ android:summary="@string/bluetooth_disable_absolute_volume_summary" /> + android:key="bluetooth_disable_leaudio" + android:title="@string/bluetooth_disable_leaudio" + android:summary="@string/bluetooth_disable_leaudio_summary" />