summaryrefslogtreecommitdiffstats
path: root/twrpDigest.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-12-11 17:00:45 +0100
committerEthan Yonker <dees_troy@teamw.in>2014-12-12 16:20:42 +0100
commit4b94cfd3910de26dbca64cf746a899cbc635158b (patch)
tree9b452fb2632413e51cb3b9fd8b28e6a2bd0352f5 /twrpDigest.cpp
parentFix loading of png images in custom themes (diff)
downloadandroid_bootable_recovery-4b94cfd3910de26dbca64cf746a899cbc635158b.tar
android_bootable_recovery-4b94cfd3910de26dbca64cf746a899cbc635158b.tar.gz
android_bootable_recovery-4b94cfd3910de26dbca64cf746a899cbc635158b.tar.bz2
android_bootable_recovery-4b94cfd3910de26dbca64cf746a899cbc635158b.tar.lz
android_bootable_recovery-4b94cfd3910de26dbca64cf746a899cbc635158b.tar.xz
android_bootable_recovery-4b94cfd3910de26dbca64cf746a899cbc635158b.tar.zst
android_bootable_recovery-4b94cfd3910de26dbca64cf746a899cbc635158b.zip
Diffstat (limited to 'twrpDigest.cpp')
-rw-r--r--twrpDigest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/twrpDigest.cpp b/twrpDigest.cpp
index 0693c5500..c3cff7194 100644
--- a/twrpDigest.cpp
+++ b/twrpDigest.cpp
@@ -40,6 +40,7 @@ extern "C"
#include "variables.h"
#include "twrp-functions.hpp"
#include "twrpDigest.hpp"
+#include "set_metadata.h"
using namespace std;
@@ -79,6 +80,7 @@ int twrpDigest::write_md5digest(void) {
md5string += basename((char*) md5fn.c_str());
md5string += + "\n";
TWFunc::write_file(md5file, md5string);
+ tw_set_default_metadata(md5file.c_str());
LOGINFO("MD5 for %s: %s\n", md5fn.c_str(), md5string.c_str());
return 0;
}