Add IMS settings to Network setting reset

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

BUG=25300757
Change-Id: I78d2e919418b7a0b42f56af3442d7d98afe40d77
This commit is contained in:
Hyejin Kim
2015-11-05 12:35:39 +09:00
committed by Pavel Zhamaitsiak
parent 39be1461a8
commit 623852f6c7

View File

@@ -34,6 +34,7 @@ import android.widget.Button;
import android.widget.Spinner; import android.widget.Spinner;
import android.widget.Toast; import android.widget.Toast;
import com.android.ims.ImsManager;
import com.android.internal.logging.MetricsLogger; import com.android.internal.logging.MetricsLogger;
import com.android.internal.telephony.PhoneConstants; import com.android.internal.telephony.PhoneConstants;
@@ -100,6 +101,8 @@ public class ResetNetworkConfirm extends InstrumentedFragment {
btManager.getAdapter().factoryReset(); btManager.getAdapter().factoryReset();
} }
ImsManager.factoryReset(context);
Toast.makeText(context, R.string.reset_network_complete_toast, Toast.LENGTH_SHORT) Toast.makeText(context, R.string.reset_network_complete_toast, Toast.LENGTH_SHORT)
.show(); .show();
} }