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

Commit 183e1b04 authored by Joseph Pirozzo's avatar Joseph Pirozzo Committed by Gerrit Code Review
Browse files

Merge "HFP-Client: Set current device to null after firing broadcast"

parents ed6d6854 054c281d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -786,9 +786,6 @@ public class HeadsetClientStateMachine extends StateMachine {
            mQueuedActions = new LinkedList<Pair<Integer, Object>>();
            clearPendingAction();


            mCurrentDevice = null;

            mCalls.clear();
            mCallsUpdate.clear();

@@ -807,6 +804,7 @@ public class HeadsetClientStateMachine extends StateMachine {
                Log.e(TAG, "Connected: Illegal state transition from " + mPrevState.getName()
                        + " to Connecting, mCurrentDevice=" + mCurrentDevice);
            }
            mCurrentDevice = null;
        }

        @Override