diff --git a/cryptfs.c b/cryptfs.c index b769aca..a6f5b4b 100644 --- a/cryptfs.c +++ b/cryptfs.c @@ -855,7 +855,7 @@ int cryptfs_enable(char *howarg, char *passwd) return -1; } /* Tells the framework that inplace encryption is starting */ - property_set("vold.encrypt_progress", "startup"); + property_set("vold.encrypt_progress", "0"); /* restart the framework. */ /* Create necessary paths on /data */ @@ -867,24 +867,10 @@ int cryptfs_enable(char *howarg, char *passwd) property_set("vold.decrypt", "trigger_restart_min_framework"); SLOGD("Just triggered restart_min_framework\n"); - /* Wait till the framework is ready */ - for (i=0; i