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

Commit 6e154cfb authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by android-build-merger
Browse files

Merge "Moved the Bluetooth-related default config init within onCreate()"

am: ab9e269d

Change-Id: Ic0d0d4b6d63b25afafae35b81686e746939646fd
parents a9e9bf20 ab9e269d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -475,6 +475,7 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
        mBluetoothSelectA2dpBitsPerSample = addListPreference(BLUETOOTH_SELECT_A2DP_BITS_PER_SAMPLE_KEY);
        mBluetoothSelectA2dpChannelMode = addListPreference(BLUETOOTH_SELECT_A2DP_CHANNEL_MODE_KEY);
        mBluetoothSelectA2dpLdacPlaybackQuality = addListPreference(BLUETOOTH_SELECT_A2DP_LDAC_PLAYBACK_QUALITY_KEY);
        initBluetoothConfigurationValues();

        mWindowAnimationScale = addListPreference(WINDOW_ANIMATION_SCALE_KEY);
        mTransitionAnimationScale = addListPreference(TRANSITION_ANIMATION_SCALE_KEY);
@@ -668,7 +669,6 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
            updateUsbConfigurationValues();
        }

        initBluetoothConfigurationValues();
        BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
        if (adapter != null) {
            adapter.getProfileProxy(getActivity(),