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

Commit 7bef7cad authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Set communication device id when initializing AudioDeviceBroker." into main

parents c9223c6d 0be80040
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -318,7 +318,8 @@ public class AudioDeviceBroker {
        initAudioHalBluetoothState();
        initRoutingStrategyIds();
        mPreferredCommunicationDevice = null;
        updateActiveCommunicationDevice();
        AudioDeviceInfo device = getCommunicationDeviceInt();
        mCurCommunicationPortId = device != null ? device.getId() : 0;

        mSystemServer.registerUserStartedReceiver(mContext);
    }