Merge "UI Tweak for eSIM related" into pi-dev am: 2a6b9ff315

am: c3d81ef8ab

Change-Id: Id80cd9d315dd63fb7bcd4bdd44798675de1d9595
This commit is contained in:
Qingxi Li
2018-03-20 23:22:13 +00:00
committed by android-build-merger
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