Merge "Wrap subManager creation with createForAllProfiles" into main
This commit is contained in:
@@ -68,6 +68,7 @@ public class EnableAutoDataSwitchDialogFragmentTest
|
||||
doReturn(mContext).when(mFragment).getContext();
|
||||
|
||||
doReturn(mSubscriptionManager).when(mContext).getSystemService(SubscriptionManager.class);
|
||||
doReturn(mSubscriptionManager).when(mSubscriptionManager).createForAllUserProfiles();
|
||||
doReturn(mTelephonyManager).when(mContext).getSystemService(TelephonyManager.class);
|
||||
doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(anyInt());
|
||||
doReturn(mUserManager).when(mContext).getSystemService(UserManager.class);
|
||||
|
Reference in New Issue
Block a user