fde: set ro.crypto.type to block
Since we set ro.crypto.type to "file" for FBE, we should also set
this prop for FDE.
Change-Id: Id3a581da5d4b58c41c2c361593ad7266898a6f54
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index e4f8496..8814cd9 100755
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1796,6 +1796,7 @@
property_get("ro.crypto.state", crypto_state, "error");
if (strcmp(crypto_state, "error") == 0) {
property_set("ro.crypto.state", "encrypted");
+ property_set("ro.crypto.type", "block");
// Sleep for a bit so that services can start if needed
sleep(1);
}