Normalized digest check before installing zip
Change-Id: I5a3e82f103e7a80800be7790f1c8dc33c76413da (cherry picked from commit 646f4f0c66a918f12e12784b22e7dc9a89837c37)
This commit is contained in:
+1
-1
@@ -400,7 +400,7 @@ int GUIAction::flash_zip(std::string filename, int* wipe_cache)
|
||||
if (simulate) {
|
||||
simulate_progress_bar();
|
||||
} else {
|
||||
ret_val = TWinstall_zip(filename.c_str(), wipe_cache, (bool) DataManager::GetIntValue(TW_SKIP_DIGEST_CHECK_VAR));
|
||||
ret_val = TWinstall_zip(filename.c_str(), wipe_cache, (bool) !DataManager::GetIntValue(TW_SKIP_DIGEST_CHECK_ZIP_VAR));
|
||||
PartitionManager.Unlock_Block_Partitions();
|
||||
// Now, check if we need to ensure TWRP remains installed...
|
||||
struct stat st;
|
||||
|
||||
Reference in New Issue
Block a user