Merge "init: Specify the data wipe reason."
am: d9b9ebb887
Change-Id: I9e4ee4b3b2a46f8a293d761678e9b2f23ba0680f
This commit is contained in:
commit
431b41b320
|
@ -559,7 +559,7 @@ static int queue_fs_event(int code) {
|
|||
} else if (code == FS_MGR_MNTALL_DEV_NEEDS_RECOVERY) {
|
||||
/* Setup a wipe via recovery, and reboot into recovery */
|
||||
PLOG(ERROR) << "fs_mgr_mount_all suggested recovery, so wiping data via recovery.";
|
||||
ret = wipe_data_via_recovery("wipe_data_via_recovery");
|
||||
ret = wipe_data_via_recovery("fs_mgr_mount_all");
|
||||
/* If reboot worked, there is no return. */
|
||||
} else if (code == FS_MGR_MNTALL_DEV_FILE_ENCRYPTED) {
|
||||
if (e4crypt_install_keyring()) {
|
||||
|
|
Loading…
Reference in New Issue