sdcard: bind mount in post decrypt

also uncomment wiping code that should not be commented

Change-Id: I445f688628dcedb67544c22c7b0775ee62e0b267
This commit is contained in:
bigbiff
2021-04-24 11:48:54 -04:00
parent a957f078be
commit be4f46cbc3
3 changed files with 21 additions and 9 deletions
+2
View File
@@ -1766,6 +1766,8 @@ void TWPartitionManager::Post_Decrypt(const string& Block_Device) {
DataManager::LoadTWRPFolderInfo();
Update_System_Details();
Output_Partition(dat);
if (!dat->Bind_Mount(false))
LOGERR("Unable to bind mount /sdcard to %s\n", dat->Storage_Path.c_str());
} else
LOGERR("Unable to locate data partition.\n");
}