Merge "Don't show "Wipe eSIMs" checkbox for developers." into oc-dr1-dev am: 98f83d6129
am: 1b1e9928ab
Change-Id: I460c2575a83d0d2ea8d4e4108b2eb40748a16a91
This commit is contained in:
@@ -247,9 +247,8 @@ public class MasterClear extends OptionsMenuFragment
|
||||
/**
|
||||
* Whether to show the checkbox to wipe the eUICC.
|
||||
*
|
||||
* <p>We show the checkbox on any device which supports eUICC as long as either the eUICC was
|
||||
* ever provisioned (that is, at least one profile was ever downloaded onto it), or if the user
|
||||
* has enabled development mode.
|
||||
* <p>We show the checkbox on any device which supports eUICC as long as the eUICC was ever
|
||||
* provisioned (that is, at least one profile was ever downloaded onto it).
|
||||
*/
|
||||
@VisibleForTesting
|
||||
boolean showWipeEuicc() {
|
||||
@@ -258,8 +257,7 @@ public class MasterClear extends OptionsMenuFragment
|
||||
return false;
|
||||
}
|
||||
ContentResolver cr = context.getContentResolver();
|
||||
return Settings.Global.getInt(cr, Settings.Global.EUICC_PROVISIONED, 0) != 0
|
||||
|| Settings.Global.getInt(cr, Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0) != 0;
|
||||
return Settings.Global.getInt(cr, Settings.Global.EUICC_PROVISIONED, 0) != 0;
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
|
Reference in New Issue
Block a user