diff options
Diffstat (limited to 'tests/src/com/android/server/telecom/tests')
-rw-r--r-- | tests/src/com/android/server/telecom/tests/BasicCallTests.java | 2 | ||||
-rw-r--r-- | tests/src/com/android/server/telecom/tests/InCallControllerTests.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/server/telecom/tests/BasicCallTests.java b/tests/src/com/android/server/telecom/tests/BasicCallTests.java index d2937e234..0b9ee656e 100644 --- a/tests/src/com/android/server/telecom/tests/BasicCallTests.java +++ b/tests/src/com/android/server/telecom/tests/BasicCallTests.java @@ -627,7 +627,7 @@ public class BasicCallTests extends TelecomSystemTest { @LargeTest @Test public void testIncomingThenOutgoingCalls_AssociatedUsersNotEqual() throws Exception { - when(mFeatureFlags.workProfileAssociatedUser()).thenReturn(true); + when(mFeatureFlags.associatedUserRefactorForWorkProfile()).thenReturn(true); InCallServiceFixture.setIgnoreOverrideAdapterFlag(true); // Receive incoming call via mPhoneAccountMultiUser diff --git a/tests/src/com/android/server/telecom/tests/InCallControllerTests.java b/tests/src/com/android/server/telecom/tests/InCallControllerTests.java index cd8431a1a..faae1484d 100644 --- a/tests/src/com/android/server/telecom/tests/InCallControllerTests.java +++ b/tests/src/com/android/server/telecom/tests/InCallControllerTests.java @@ -1844,7 +1844,7 @@ public class InCallControllerTests extends TelecomTestCase { @Test public void testRemoveAllServiceConnections_MultiUser() throws Exception { - when(mFeatureFlags.workProfileAssociatedUser()).thenReturn(true); + when(mFeatureFlags.associatedUserRefactorForWorkProfile()).thenReturn(true); setupMocks(false /* isExternalCall */); setupMockPackageManager(true /* default */, true /* system */, false /* external calls */); UserHandle workUser = new UserHandle(12); |