Merge "Rename toggle "Enable Bluetooth LE audio" to "Disable Bluetooth LE audio"" am: 60d9be5a0a am: 7871a9e9bd am: 06bca85c6a

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2516935

Change-Id: I94301fd7e273f781aa5029128d960f8b9fb1c2da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2023-03-31 10:03:11 +00:00
committed by Automerger Merge Worker
5 changed files with 25 additions and 38 deletions

View File

@@ -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();
}
}