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

Commit 24233d43 authored by Hyejin Kim's avatar Hyejin Kim Committed by Jack Yu
Browse files

Add IMS settings to Network setting reset

Add the factory reset function to be used to reset IMS settings

BUG=25300757
Change-Id: I78d2e919418b7a0b42f56af3442d7d98afe40d77
parent 71cf9d1d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ import android.widget.Button;
import android.widget.Spinner;
import android.widget.Toast;

import com.android.ims.ImsManager;
import com.android.internal.logging.MetricsLogger;
import com.android.internal.telephony.PhoneConstants;

@@ -100,6 +101,8 @@ public class ResetNetworkConfirm extends InstrumentedFragment {
                btManager.getAdapter().factoryReset();
            }

            ImsManager.factoryReset(context);

            Toast.makeText(context, R.string.reset_network_complete_toast, Toast.LENGTH_SHORT)
                    .show();
        }