Fix storage selection with adopted storage
Change-Id: Ifcba4e668579c3684df9e47e1c3faf5f4d1f3e83
This commit is contained in:
2
data.cpp
2
data.cpp
@@ -593,7 +593,7 @@ void DataManager::SetBackupFolder()
|
||||
SetValue("tw_storage_free_size", free_space);
|
||||
string zip_path, zip_root, storage_path;
|
||||
GetValue(TW_ZIP_LOCATION_VAR, zip_path);
|
||||
if (partition->Has_Data_Media)
|
||||
if (partition->Has_Data_Media && !partition->Symlink_Mount_Point.empty())
|
||||
storage_path = partition->Symlink_Mount_Point;
|
||||
else
|
||||
storage_path = partition->Storage_Path;
|
||||
|
||||
Reference in New Issue
Block a user