Merge "UI Tweak for eSIM related" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-20 19:24:59 +00:00
committed by Android (Google) Code Review
5 changed files with 42 additions and 11 deletions

View File

@@ -357,7 +357,9 @@ public class MasterClear extends InstrumentedFragment implements OnGlobalLayoutL
return false;
}
ContentResolver cr = context.getContentResolver();
return Settings.Global.getInt(cr, Settings.Global.EUICC_PROVISIONED, 0) != 0;
return Settings.Global.getInt(cr, Settings.Global.EUICC_PROVISIONED, 0) != 0
|| Settings.Global.getInt(
cr, Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0) != 0;
}
@VisibleForTesting