Merge "Make sure encryption type is set on first boot" into nyc-dev

gugelfrei
Paul Lawrence 8 years ago committed by Android (Google) Code Review
commit 439034b8cc

@ -3231,6 +3231,7 @@ int cryptfs_enable_internal(char *howarg, int crypt_type, char *passwd,
if (!strcmp(value, "")) {
/* default encryption - continue first boot sequence */
property_set("ro.crypto.state", "encrypted");
property_set("ro.crypto.type", "block");
release_wake_lock(lockid);
if (rebootEncryption && crypt_ftr.crypt_type != CRYPT_TYPE_DEFAULT) {
// Bring up cryptkeeper that will check the password and set it

Loading…
Cancel
Save