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

Commit 698ce52a authored by Patty Huang's avatar Patty Huang
Browse files

Show LE audio toggle in Device Detail by default

Bug: 289884263
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioDeviceDetailsPreferenceControllerTest
Test: Checks the LE Audio toggle is shown in Device Detail by default
Change-Id: I3affeebd9b2c59d24f4eaa76a1a22a714e968976
parent 852ae30f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ public class BluetoothDetailsProfilesController extends BluetoothDetailsControll
    private static final String ENABLE_DUAL_MODE_AUDIO =
            "persist.bluetooth.enable_dual_mode_audio";
    private static final String CONFIG_LE_AUDIO_ENABLED_BY_DEFAULT = "le_audio_enabled_by_default";
    private static final boolean LE_AUDIO_DEVICE_DETAIL_DEFAULT_VALUE = false;
    private static final boolean LE_AUDIO_DEVICE_DETAIL_DEFAULT_VALUE = true;

    private LocalBluetoothManager mManager;
    private LocalBluetoothProfileManager mProfileManager;
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ public class BluetoothLeAudioDeviceDetailsPreferenceController

    private static final String PREFERENCE_KEY = "bluetooth_show_leaudio_device_details";
    private static final String CONFIG_LE_AUDIO_ENABLED_BY_DEFAULT = "le_audio_enabled_by_default";
    private static final boolean LE_AUDIO_DEVICE_DETAIL_DEFAULT_VALUE = false;
    private static final boolean LE_AUDIO_DEVICE_DETAIL_DEFAULT_VALUE = true;
    static int sLeAudioSupportedStateCache = BluetoothStatusCodes.ERROR_UNKNOWN;

    @VisibleForTesting