diff options
Diffstat (limited to 'InCallUI/tests/src/com/android/incallui')
-rw-r--r-- | InCallUI/tests/src/com/android/incallui/InCallPresenterTest.java | 4 | ||||
-rw-r--r-- | InCallUI/tests/src/com/android/incallui/MockCallListWrapper.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/InCallUI/tests/src/com/android/incallui/InCallPresenterTest.java b/InCallUI/tests/src/com/android/incallui/InCallPresenterTest.java index 3345c6bb0..f4e06a5fa 100644 --- a/InCallUI/tests/src/com/android/incallui/InCallPresenterTest.java +++ b/InCallUI/tests/src/com/android/incallui/InCallPresenterTest.java @@ -124,11 +124,11 @@ public class InCallPresenterTest extends InstrumentationTestCase { } /** - * Verifies that if there is a call in the PRE_DIAL_WAIT state, InCallActivity is displayed + * Verifies that if there is a call in the SELECT_PHONE_ACCOUNT state, InCallActivity is displayed * to display the account picker. */ public void testOnCallListChange_noAccountProvidedForCallShowsUiForAccountPicker() { - mCallList.setHasCall(Call.State.PRE_DIAL_WAIT, true); + mCallList.setHasCall(Call.State.SELECT_PHONE_ACCOUNT, true); mInCallPresenter.onCallListChange(mCallList.getCallList()); verify(mContext).startActivity(InCallPresenter.getInstance().getInCallIntent(false, false)); diff --git a/InCallUI/tests/src/com/android/incallui/MockCallListWrapper.java b/InCallUI/tests/src/com/android/incallui/MockCallListWrapper.java index 5b574825c..369c4303f 100644 --- a/InCallUI/tests/src/com/android/incallui/MockCallListWrapper.java +++ b/InCallUI/tests/src/com/android/incallui/MockCallListWrapper.java @@ -66,7 +66,7 @@ public class MockCallListWrapper { } private static Call getMockCall(int state) { - return getMockCall(state, state != Call.State.PRE_DIAL_WAIT); + return getMockCall(state, state != Call.State.SELECT_PHONE_ACCOUNT); } private static Call getMockCall(int state, boolean hasAccountHandle) { |