Merge "Use isOemUnlockEnabled to drive oem unlocking toggle." into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2c8178db3a
@@ -1035,7 +1035,7 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
|
||||
|
||||
private void updateOemUnlockOptions() {
|
||||
if (mEnableOemUnlock != null) {
|
||||
updateSwitchPreference(mEnableOemUnlock, isBootloaderUnlocked());
|
||||
updateSwitchPreference(mEnableOemUnlock, Utils.isOemUnlockEnabled(getActivity()));
|
||||
updateOemUnlockSettingDescription();
|
||||
// Showing mEnableOemUnlock preference as device has persistent data block.
|
||||
mEnableOemUnlock.setDisabledByAdmin(null);
|
||||
|
Reference in New Issue
Block a user