From 6848dc8e3b54fb27047836d8026c4c9971754607 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Mon, 13 Oct 2014 18:51:53 -0700 Subject: Add a checkbox option to 'require password to decrypt' Fixes bug 17881324 Change-Id: Id94e593a172d686339c736473226fece1bb749ee --- core/java/android/provider/Settings.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'core/java/android/provider/Settings.java') diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index e40c88f..79e84d9 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -6570,6 +6570,15 @@ public final class Settings { public static final String NETWORK_SCORING_PROVISIONED = "network_scoring_provisioned"; /** + * Whether the user wants to be prompted for password to decrypt the device on boot. + * This only matters if the storage is encrypted. + *

+ * Type: int (0 for false, 1 for true) + * @hide + */ + public static final String REQUIRE_PASSWORD_TO_DECRYPT = "require_password_to_decrypt"; + + /** * Settings to backup. This is here so that it's in the same place as the settings * keys and easy to update. * -- cgit v1.1