am 9dedfd47
: Fix encryption on certain devices
* commit '9dedfd473dc59e0277004e5b917e4eced02c8af5': Fix encryption on certain devices
This commit is contained in:
commit
06dbc22839
1 changed files with 3 additions and 0 deletions
|
@ -688,6 +688,9 @@ int cryptfs_restart(void)
|
|||
property_set("vold.decrypt", "trigger_reset_main");
|
||||
SLOGD("Just asked init to shut down class main\n");
|
||||
|
||||
/* Give everything a chance to shutdown */
|
||||
sleep(1);
|
||||
|
||||
/* Now that the framework is shutdown, we should be able to umount()
|
||||
* the tmpfs filesystem, and mount the real one.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue