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

Commit 19d4bb47 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

am: 12216f46

Change-Id: I0d3d9c8dc5c9b1adf6484c9dd10883d8ea4bb88c
parents 23c71704 12216f46
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