summaryrefslogtreecommitdiffstats
path: root/data.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-08-26 16:01:59 +0200
committerDees Troy <dees_troy@teamw.in>2015-08-26 22:36:16 +0200
commit89583ef00f54369be2b5ab3495495616056eba13 (patch)
tree94d0d7346abb12cbbb745d012f47036e97ab350a /data.cpp
parentWipe crypto key when formatting data (diff)
downloadandroid_bootable_recovery-89583ef00f54369be2b5ab3495495616056eba13.tar
android_bootable_recovery-89583ef00f54369be2b5ab3495495616056eba13.tar.gz
android_bootable_recovery-89583ef00f54369be2b5ab3495495616056eba13.tar.bz2
android_bootable_recovery-89583ef00f54369be2b5ab3495495616056eba13.tar.lz
android_bootable_recovery-89583ef00f54369be2b5ab3495495616056eba13.tar.xz
android_bootable_recovery-89583ef00f54369be2b5ab3495495616056eba13.tar.zst
android_bootable_recovery-89583ef00f54369be2b5ab3495495616056eba13.zip
Diffstat (limited to 'data.cpp')
-rw-r--r--data.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/data.cpp b/data.cpp
index d7b02f1d6..7364b9f4e 100644
--- a/data.cpp
+++ b/data.cpp
@@ -1005,6 +1005,7 @@ int DataManager::GetMagicValue(const string varName, string& value)
void DataManager::Output_Version(void)
{
+#ifndef TW_OEM_BUILD
string Path;
char version[255];
@@ -1035,6 +1036,7 @@ void DataManager::Output_Version(void)
PartitionManager.Output_Storage_Fstab();
sync();
LOGINFO("Version number saved to '%s'\n", Path.c_str());
+#endif
}
void DataManager::ReadSettingsFile(void)