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

Commit 5bc60987 authored by fionaxu's avatar fionaxu
Browse files

GsmCdmaCallTrackerTest

Change-Id: I752b117b227bb785dd85bd8a2b248e13793034fa
parent df913b37
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -145,14 +145,15 @@ public class GsmCdmaCallTrackerTest {
        assertTrue(mPhone.getServiceState().getState() != ServiceState.STATE_POWER_OFF);
        assertFalse(mCT.mRingingCall.isRinging());
        assertFalse(mCT.mForegroundCall.getState().isAlive());
        assertFalse(!SystemProperties.get(
        assertFalse(mCT.mBackgroundCall.getState().isAlive());
        assertFalse(SystemProperties.get(
                TelephonyProperties.PROPERTY_DISABLE_CALL, "false").equals("true"));

        try {
            mCT.dial(mDialString);
        } catch(Exception ex) {
            ex.printStackTrace();
            Assert.fail("unexpected exception thrown"+ex.getMessage());
            Assert.fail("unexpected exception thrown"+ex.getMessage()+ex.getStackTrace());
        }

        assertEquals(mCT.getState(), PhoneConstants.State.OFFHOOK);