[Mainline] Use isActiveSubscriptionId instead of isActiveSubId for mainline
Bug: 147206736 Test: make RunSettingsRoboTests ROBOTEST_FILTER=DisabledSubscriptionControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=MobileNetworkSwitchControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=SimSelectNotificationTest Merged-In: If740c2d7ea2c1392d5fe538091ea6e5c4575ad26 Change-Id: Idca7a76c591448a45ecc33cb392f416c70d32f91
This commit is contained in:
@@ -117,7 +117,7 @@ public class SimSelectNotificationTest {
|
||||
|
||||
when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mTelephonyManager);
|
||||
when(mTelephonyManager.isDataEnabledForApn(TYPE_MMS)).thenReturn(false);
|
||||
when(mSubscriptionManager.isActiveSubId(mSubId)).thenReturn(true);
|
||||
when(mSubscriptionManager.isActiveSubscriptionId(mSubId)).thenReturn(true);
|
||||
when(mSubscriptionManager.getActiveSubscriptionInfo(mSubId)).thenReturn(mSubInfo);
|
||||
when(mSubInfo.getDisplayName()).thenReturn(mFakeDisplayName);
|
||||
when(mContext.getResources()).thenReturn(mResources);
|
||||
|
Reference in New Issue
Block a user