am 9dedfd47: Fix encryption on certain devices

* commit '9dedfd473dc59e0277004e5b917e4eced02c8af5':
  Fix encryption on certain devices
This commit is contained in:
Ken Sumrall 2012-10-09 15:11:18 -07:00 committed by Android Git Automerger
commit 06dbc22839

View file

@ -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.
*/