Merge "IMS: Use the slot based ImsManager factory reset API."

This commit is contained in:
Brad Ebinger
2018-07-16 19:57:31 +00:00
committed by Gerrit Code Review

View File

@@ -105,7 +105,8 @@ public class ResetNetworkConfirm extends OptionsMenuFragment {
}
}
ImsManager.factoryReset(context);
ImsManager.getInstance(context,
SubscriptionManager.getPhoneId(mSubId)).factoryReset();
restoreDefaultApn(context);
Toast.makeText(context, R.string.reset_network_complete_toast, Toast.LENGTH_SHORT)