Prepare necessary data directory before loading persistent properties.
init reads files in /data/property/ but it is not ready to read when trigger_load_persist_props is triggered by vold.decrypt. Bug: 29332975 Change-Id: I14beac8714ff2f722d8b11f666bc7ca693ccd46e
This commit is contained in:
parent
908527a70b
commit
e2ef0c0da4
1 changed files with 1 additions and 1 deletions
|
@ -1737,11 +1737,11 @@ static int cryptfs_restart_internal(int restart_main)
|
|||
return -1;
|
||||
}
|
||||
|
||||
property_set("vold.decrypt", "trigger_load_persist_props");
|
||||
/* Create necessary paths on /data */
|
||||
if (prep_data_fs()) {
|
||||
return -1;
|
||||
}
|
||||
property_set("vold.decrypt", "trigger_load_persist_props");
|
||||
|
||||
/* startup service classes main and late_start */
|
||||
property_set("vold.decrypt", "trigger_restart_framework");
|
||||
|
|
Loading…
Reference in a new issue