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:
@@ -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