Allow all extension while checking for digest verification
Change-Id: Ie17582f144e0a5b5a68e2c6d88c26cb9f5a29ee6
diff --git a/gui/action.cpp b/gui/action.cpp
index 4a87f09..1212026 100755
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -403,9 +403,8 @@
if (simulate) {
simulate_progress_bar();
} else {
- ret_val = TWinstall_zip(filename.c_str(), wipe_cache);
+ ret_val = TWinstall_zip(filename.c_str(), wipe_cache, (bool) DataManager::GetIntValue(TW_SKIP_DIGEST_CHECK_VAR));
PartitionManager.Unlock_Block_Partitions();
-
// Now, check if we need to ensure TWRP remains installed...
struct stat st;
if (stat("/system/bin/installTwrp", &st) == 0)