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

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

Merge "Remove calls when device gets disconnected"

parents 86c9340c cbaeac78
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;