From 79ae093c82ec6f714719ccdc97b03e1c184bdc01 Mon Sep 17 00:00:00 2001 From: James Christopher Adduono Date: Tue, 25 Oct 2016 02:18:32 -0400 Subject: MD5 verification sanity We can use switches and enums to make things more understandable and work with results in a more sensible manner. PS2: Move file MD5 verification and error handling into a separate function to reduce code. PS3: Default to false in Check_Restore_File_MD5 function Change-Id: Id3ee0bb444cf13be67bb5dec2c43f7c26a86b954 (cherry picked from commit 5c3950716e5c7c6279efd5f3f338d6d22e5215e2) --- gui/theme/common/languages/en.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'gui/theme/common/languages/en.xml') diff --git a/gui/theme/common/languages/en.xml b/gui/theme/common/languages/en.xml index 0a89083d1..6b05a8613 100644 --- a/gui/theme/common/languages/en.xml +++ b/gui/theme/common/languages/en.xml @@ -572,6 +572,7 @@ Unable to resize {1}. No md5 file found for '{1}'. Please unselect Enable MD5 verification to restore. MD5 failed to match on '{1}'. + MD5 matched for '{1}'. Failed to decrypt tar file '{1}' You may need to reboot recovery to be able to use /data again. Unable to format to remove encryption. -- cgit v1.2.3