Load persistent properties after mounting an encrypted /data partition.
Fix for bug 3415286. Trigger an action in init.rc to load the persistent
properties after /data has been decrypted and mounted.
Change-Id: I5fe3b481bcc6963113e830728c204b22ffc3b722
diff --git a/cryptfs.c b/cryptfs.c
index 3c6deb1..68d2787 100644
--- a/cryptfs.c
+++ b/cryptfs.c
@@ -634,6 +634,7 @@
/* If that succeeded, then mount the decrypted filesystem */
mount(crypto_blkdev, DATA_MNT_POINT, fs_type, mnt_flags, fs_options);
+ property_set("vold.decrypt", "trigger_load_persist_props");
/* Create necessary paths on /data */
if (prep_data_fs()) {
return -1;