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
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
package com.android.settings.development;
|
||||
|
||||
import static com.android.settings.development.BluetoothLeAudioPreferenceController
|
||||
.LE_AUDIO_DYNAMIC_ENABLED_PROPERTY;
|
||||
.LE_AUDIO_SWITCHER_DISABLED_PROPERTY;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
|
||||
@@ -75,8 +75,8 @@ public class BluetoothLeAudioPreferenceControllerTest {
|
||||
|
||||
mController.onRebootDialogConfirmed();
|
||||
final boolean status = SystemProperties
|
||||
.getBoolean(LE_AUDIO_DYNAMIC_ENABLED_PROPERTY, false);
|
||||
assertThat(status).isTrue();
|
||||
.getBoolean(LE_AUDIO_SWITCHER_DISABLED_PROPERTY, true);
|
||||
assertThat(status).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -87,8 +87,8 @@ public class BluetoothLeAudioPreferenceControllerTest {
|
||||
|
||||
mController.onRebootDialogConfirmed();
|
||||
final boolean status = SystemProperties
|
||||
.getBoolean(LE_AUDIO_DYNAMIC_ENABLED_PROPERTY, false);
|
||||
assertThat(status).isFalse();
|
||||
.getBoolean(LE_AUDIO_SWITCHER_DISABLED_PROPERTY, true);
|
||||
assertThat(status).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -99,7 +99,7 @@ public class BluetoothLeAudioPreferenceControllerTest {
|
||||
|
||||
mController.onRebootDialogCanceled();
|
||||
final boolean status = SystemProperties
|
||||
.getBoolean(LE_AUDIO_DYNAMIC_ENABLED_PROPERTY, false);
|
||||
assertThat(status).isFalse();
|
||||
.getBoolean(LE_AUDIO_SWITCHER_DISABLED_PROPERTY, true);
|
||||
assertThat(status).isTrue();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user