Merge "fix data encryption fail when ENCRYPTION_FLAG_NO_UI is set" am: c222ad20ee

am: a921b6795e

Change-Id: Ia297c274b7a2b0005b31f69354fb4a7773f02439
gugelfrei
xzj 5 years ago committed by android-build-merger
commit 3348c6e915

@ -2253,6 +2253,7 @@ int cryptfs_enable_internal(int crypt_type, const char* passwd, int no_ui) {
* /data, set a property saying we're doing inplace encryption,
* and restart the framework.
*/
wait_and_unmount(DATA_MNT_POINT, true);
if (fs_mgr_do_tmpfs_mount(DATA_MNT_POINT)) {
goto error_shutting_down;
}

Loading…
Cancel
Save