OSDN Git Service

Add checkbox for erase esim under network reset screen
authorQingxi Li <qingxi@google.com>
Fri, 5 Jan 2018 18:52:42 +0000 (10:52 -0800)
committerQingxi Li <qingxi@google.com>
Fri, 19 Jan 2018 22:26:50 +0000 (14:26 -0800)
commit0caad2f3ba0f6236cfe0750a34f8cec585d014ce
tree20e8b7874e52018944250c4be17f2cac2efec033
parent18a9d7bad07f172c41a4496c8165e9ecc8999782
Add checkbox for erase esim under network reset screen

This CL add a checkbox letting user decide when they reset the network
configurations under System > Reset options > Reset Wi-Fi, mobile &
Bluetooth, whether they want to reset eSIM together or not. If the user
choose to reset eSIM togather, EuiccManager#eraseSubscriptions will be
called and all the eSIM profiles will be removed.

Bug: 62961867
Test: E2E & make RunSettingsRoboTests
Change-Id: I533756b12c0474e8e58cc6fe60a38c119365cee2
res/layout/master_clear.xml
res/layout/reset_esim_checkbox.xml [new file with mode: 0644]
res/layout/reset_network.xml
res/values/dimens.xml
res/values/strings.xml
src/com/android/settings/ResetNetwork.java
src/com/android/settings/ResetNetworkConfirm.java
src/com/android/settings/wrapper/RecoverySystemWrapper.java [new file with mode: 0644]
tests/robotests/src/com/android/settings/ResetNetworkConfirmTest.java [new file with mode: 0644]