mainline: remove CarrierConfigManager.init
Bug: 147469789 Test: make RunSettingsRoboTests ROBOTEST_FILTER=\ ApnPreferenceControllerTest (PASS) make RunSettingsRoboTests ROBOTEST_FILTER=\ CarrierPreferenceControllerTest (PASS) Merged-In: I2a72d409574fc281e5de57d58a27551dd040d551 Change-Id: I2535275d116887ed4b107fc530c85b4cbc5ad0d5
This commit is contained in:
committed by
Bonian Chen
parent
1efdd7d3ba
commit
87af2abc83
@@ -54,7 +54,7 @@ public class RoamingDialogFragment extends InstrumentedDialogFragment implements
|
|||||||
super.onAttach(context);
|
super.onAttach(context);
|
||||||
final Bundle args = getArguments();
|
final Bundle args = getArguments();
|
||||||
mSubId = args.getInt(SUB_ID_KEY);
|
mSubId = args.getInt(SUB_ID_KEY);
|
||||||
mCarrierConfigManager = new CarrierConfigManager(context);
|
mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user