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

Commit 12216f46 authored by Joseph Pirozzo's avatar Joseph Pirozzo Committed by android-build-merger
Browse files

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

am: 14ae6e27

Change-Id: Ia9160c533fe47f2e72ba8add7b4e7f42ca8c46d8
parents 13b337c2 14ae6e27
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