Fix handling of storage after decryption
Change-Id: I0c2614f841a225699be9d4a52c60e9456241659b
This commit is contained in:
committed by
Gerrit Code Review
parent
b58e6d253a
commit
98fb46c6e2
@@ -1470,9 +1470,8 @@ int TWPartitionManager::Decrypt_Device(string Password) {
|
||||
if (dat->Mount(false) && TWFunc::Path_Exists("/data/media/0")) {
|
||||
dat->Storage_Path = "/data/media/0";
|
||||
dat->Symlink_Path = dat->Storage_Path;
|
||||
DataManager::SetValue(TW_INTERNAL_PATH, "/data/media/0");
|
||||
DataManager::SetValue("tw_storage_path", "/data/media/0");
|
||||
dat->UnMount(false);
|
||||
DataManager::SetBackupFolder();
|
||||
Output_Partition(dat);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user