Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 981f940e authored by Suresh Koleti's avatar Suresh Koleti
Browse files

IMS: Use the slot based ImsManager factory reset API.

Use the slot based factory reset API of ImsManager
to reset the IMS settings values for appropriate sub.

Test: Manual
Bug: 74412226
Change-Id: Iceabb225764ac01f0172142ef95e874ca93c061d
parent 4ec0e8e8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)