Merge "Make sure encryption type is set on first boot" into nyc-dev
diff --git a/cryptfs.c b/cryptfs.c
index fcc9724..918a48a 100644
--- a/cryptfs.c
+++ b/cryptfs.c
@@ -3231,6 +3231,7 @@
           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