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

Commit 5900ff01 authored by Gopi Sakshihally Bhuthaiah (xWF)'s avatar Gopi Sakshihally Bhuthaiah (xWF) Committed by Gerrit Code Review
Browse files

Merge "Removed startAutoDispatch and stopAutoDispatch" into main

parents 64df3f53 f65692fc
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1770,7 +1770,6 @@ public class HeadsetServiceAndStateMachineTest {
        HeadsetCallState headsetCallState =
                new HeadsetCallState(
                        0, 0, HeadsetHalConstants.CALL_STATE_INCOMING, TEST_PHONE_NUMBER, 128, "");
        mTestLooper.startAutoDispatch(); // Require as this is waiting unconditionally
        mHeadsetService.phoneStateChanged(
                headsetCallState.mNumActive,
                headsetCallState.mNumHeld,
@@ -1779,7 +1778,6 @@ public class HeadsetServiceAndStateMachineTest {
                headsetCallState.mType,
                headsetCallState.mName,
                false);
        mTestLooper.stopAutoDispatch();
        mTestLooper.dispatchAll();
        // HeadsetStateMachine completes processing CALL_STATE_CHANGED message
        verify(mNativeInterface).phoneStateChange(device, headsetCallState);