Add IMS settings to Network setting reset am: 623852f6c7
am: c46bbd6373
am: 00bc7567b8
* commit '00bc7567b81b05f55d3388817dabfdd1d7b83776':
Add IMS settings to Network setting reset
This commit is contained in:
@@ -31,6 +31,7 @@ import android.view.ViewGroup;
|
|||||||
import android.widget.Button;
|
import android.widget.Button;
|
||||||
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;
|
||||||
|
|
||||||
@@ -94,6 +95,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