Merge "[Settings] IMS feature checking before accessing VT IMS API" into tm-dev
This commit is contained in:
@@ -89,6 +89,7 @@ public class VideoCallingPreferenceControllerTest {
|
||||
mController.init(SUB_ID);
|
||||
doReturn(mQueryImsState).when(mController).queryImsState(anyInt());
|
||||
doReturn(mQueryVoLteState).when(mController).queryVoLteState(anyInt());
|
||||
doReturn(true).when(mController).isImsSupported();
|
||||
mPreference.setKey(mController.getPreferenceKey());
|
||||
|
||||
mQueryImsState.setIsEnabledByPlatform(true);
|
||||
|
Reference in New Issue
Block a user