[Settings] Rollback design for getSystemService(String)
Some of the design are intented for getSystemService(String). Rollback those items. Bug: 179640862 Test: local Change-Id: I581070afb380a86c6352322f927c269b4527aee9
This commit is contained in:
@@ -94,7 +94,7 @@ public class EnabledNetworkModePreferenceControllerTest {
|
||||
|
||||
when(mContext.getSystemService(CarrierConfigManager.class)).thenReturn(
|
||||
mCarrierConfigManager);
|
||||
when(mContext.getSystemService(TelephonyManager.class)).thenReturn(mTelephonyManager);
|
||||
when(mContext.getSystemService(Context.TELEPHONY_SERVICE)).thenReturn(mTelephonyManager);
|
||||
when(mContext.getSystemService(TelephonyManager.class)).thenReturn(mTelephonyManager);
|
||||
doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID);
|
||||
doReturn(mInvalidTelephonyManager).when(mTelephonyManager).createForSubscriptionId(
|
||||
|
Reference in New Issue
Block a user