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

Commit 3a7ea955 authored by Gopi Sakshihally Bhuthaiah (xWF)'s avatar Gopi Sakshihally Bhuthaiah (xWF) Committed by Automerger Merge Worker
Browse files

Merge "Removed startAutoDispatch and stopAutoDispatch" into main am: 5900ff01

parents fb938bca 5900ff01
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);