Add IMS settings to Network setting reset am: 623852f6c7
am: c46bbd6373
* commit 'c46bbd637345e7dcfd637b1ba76896890e13bf5a':
Add IMS settings to Network setting reset
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user