diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-12-11 17:00:45 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-12-12 16:20:42 +0100 |
commit | 4b94cfd3910de26dbca64cf746a899cbc635158b (patch) | |
tree | 9b452fb2632413e51cb3b9fd8b28e6a2bd0352f5 /infomanager.cpp | |
parent | Fix loading of png images in custom themes (diff) | |
download | android_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 'infomanager.cpp')
-rw-r--r-- | infomanager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/infomanager.cpp b/infomanager.cpp index 080fe1d28..864c431a5 100644 --- a/infomanager.cpp +++ b/infomanager.cpp @@ -39,6 +39,7 @@ #include "infomanager.hpp" #include "twcommon.h" #include "partitions.hpp" +#include "set_metadata.h" using namespace std; @@ -97,7 +98,7 @@ int InfoManager::SaveValues(void) { return -1; PartitionManager.Mount_By_Path(File, true); -LOGINFO("InfoManager saving '%s'\n", File.c_str()); + LOGINFO("InfoManager saving '%s'\n", File.c_str()); FILE* out = fopen(File.c_str(), "wb"); if (!out) return -1; @@ -112,6 +113,7 @@ LOGINFO("InfoManager saving '%s'\n", File.c_str()); fwrite(iter->second.c_str(), 1, length, out); } fclose(out); + tw_set_default_metadata(File.c_str()); return 0; } |