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

Commit 85daee82 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 12695596 from b55fe920 to 25Q1-release

Change-Id: I5cfe67e919e5f9c99eddeec8dfc646bb20112737
parents f62b91ab b55fe920
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -308,20 +308,20 @@ public class BluetoothDeviceManager {
        mFeatureFlags = featureFlags;
        if (bluetoothAdapter != null) {
            mBluetoothAdapter = bluetoothAdapter;
            if (mFeatureFlags.useRefactoredAudioRouteSwitching()) {
                mBluetoothHeadsetFuture = new CompletableFuture<>();
            }
            bluetoothAdapter.getProfileProxy(context, mBluetoothProfileServiceListener,
                    BluetoothProfile.HEADSET);
            bluetoothAdapter.getProfileProxy(context, mBluetoothProfileServiceListener,
                    BluetoothProfile.HEARING_AID);
            bluetoothAdapter.getProfileProxy(context, mBluetoothProfileServiceListener,
                    BluetoothProfile.LE_AUDIO);
        }
        if (mFeatureFlags.useRefactoredAudioRouteSwitching()) {
            mBluetoothHeadsetFuture = new CompletableFuture<>();
        }
        mAudioManager = context.getSystemService(AudioManager.class);
        mExecutor = context.getMainExecutor();
        mCommunicationDeviceTracker = communicationDeviceTracker;
    }
    }

    public void setBluetoothRouteManager(BluetoothRouteManager brm) {
        mBluetoothRouteManager = brm;