OSDN Git Service

Track ro.flash.locked bit to enable/disable OEM unlocking pref
authorAndres Morales <anmorales@google.com>
Wed, 13 Jan 2016 23:28:54 +0000 (15:28 -0800)
committerAndres Morales <anmorales@google.com>
Thu, 21 Jan 2016 16:30:31 +0000 (08:30 -0800)
commite32497c6de3f5ec3d494474da9c7ad04db76ef79
tree9c763e1119b02e92cdc061a11a695c4093cbe6a6
parent34de9f6bf8ef7374d87cab68fafe323900887d40
Track ro.flash.locked bit to enable/disable OEM unlocking pref

if the device is OEM unlocked already, disable the OEM
unlocking pref. If it's locked, enable.

Bug: 26039090
Change-Id: I915f3cf57deef8f5775d466dec59c891c1546b1b
src/com/android/settings/DevelopmentSettings.java