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

Commit 5d200aa1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove calls when device gets disconnected"

parents 8333c34a 641e4282
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -430,10 +430,11 @@ public class HfpClientConnectionService extends ConnectionService {
        }
    }

    private void disconnectAll() {
    private synchronized void disconnectAll() {
        for (HfpClientConnection connection : mConnections.values()) {
            connection.onHfpDisconnected();
        }
        mConnections.clear();
        if (mConference != null) {
            mConference.destroy();
            mConference = null;