summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/src/com/android/server/telecom/tests/TransactionTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/server/telecom/tests/TransactionTests.java b/tests/src/com/android/server/telecom/tests/TransactionTests.java
index e58c6c4d0..0f7fd4810 100644
--- a/tests/src/com/android/server/telecom/tests/TransactionTests.java
+++ b/tests/src/com/android/server/telecom/tests/TransactionTests.java
@@ -310,8 +310,8 @@ public class TransactionTests extends TelecomTestCase {
// simulate the transaction being processed and the setOnHold() being called / state change
t.processTransaction(null);
- t.getCallStateListenerImpl().onCallStateChanged(CallState.ON_HOLD);
when(mMockCall1.getState()).thenReturn(CallState.ON_HOLD);
+ t.getCallStateListenerImpl().onCallStateChanged(CallState.ON_HOLD);
// THEN
verify(mMockCall1, times(1)).addCallStateListener(t.getCallStateListenerImpl());