Enable OEM unlock checkbox in Developer Settings

For Volantis+ devices, we will give users
the ability to enable OEM unlock through
Developer Settings. To do so, we must write
the value to the last byte of a special partition
that does not get erased even after factory reset.

This feature will only be available on devices
with the persistent data partition, thus the checkbox
is only visible for devices that meet this requirement.

This depends on
https://googleplex-android-review.git.corp.google.com/#/c/495350/

DD: go/factory-reset

Bug: 14288780
Change-Id: I8f80b950bc101a1067912faf221391bf0dd826b7
This commit is contained in:
Andres Morales
2014-07-07 16:58:16 -07:00
parent e2403822ec
commit ce249fe38d
6 changed files with 82 additions and 16 deletions

View File

@@ -245,7 +245,7 @@ public final class SearchIndexableResources {
sResMap.put(DevelopmentSettings.class.getName(),
new SearchIndexableResource(
Ranking.getRankForClassName(DevelopmentSettings.class.getName()),
R.xml.development_prefs,
NO_DATA_RES_ID,
DevelopmentSettings.class.getName(),
R.drawable.ic_settings_development));