summaryrefslogtreecommitdiffstats
path: root/data.cpp
diff options
context:
space:
mode:
authornkk71 <nkk71x@gmail.com>2017-10-11 22:39:10 +0200
committerDees Troy <dees_troy@teamw.in>2017-11-17 23:49:11 +0100
commitb4c3591306dcab077fd2b408a20af3a296f0920c (patch)
treea8d6b157db1a3edb58707acdecf7351af382a35b /data.cpp
parentFix mkfs.f2fs build error (diff)
downloadandroid_bootable_recovery-b4c3591306dcab077fd2b408a20af3a296f0920c.tar
android_bootable_recovery-b4c3591306dcab077fd2b408a20af3a296f0920c.tar.gz
android_bootable_recovery-b4c3591306dcab077fd2b408a20af3a296f0920c.tar.bz2
android_bootable_recovery-b4c3591306dcab077fd2b408a20af3a296f0920c.tar.lz
android_bootable_recovery-b4c3591306dcab077fd2b408a20af3a296f0920c.tar.xz
android_bootable_recovery-b4c3591306dcab077fd2b408a20af3a296f0920c.tar.zst
android_bootable_recovery-b4c3591306dcab077fd2b408a20af3a296f0920c.zip
Diffstat (limited to 'data.cpp')
-rw-r--r--data.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/data.cpp b/data.cpp
index 5a9055345..c0cb9b85b 100644
--- a/data.cpp
+++ b/data.cpp
@@ -833,20 +833,19 @@ void DataManager::SetDefaultValues()
#else
mConst.SetValue("tw_has_boot_slots", "0");
#endif
+
#ifdef TW_NO_LEGACY_PROPS
LOGINFO("TW_NO_LEGACY_PROPS := true\n");
- mConst.SetValue("tw_enable_legacy_props", "0");
#endif
+
#ifdef TW_OEM_BUILD
LOGINFO("TW_OEM_BUILD := true\n");
mConst.SetValue("tw_oem_build", "1");
- mConst.SetValue("tw_enable_legacy_props", "0");
#else
mConst.SetValue("tw_oem_build", "0");
mPersist.SetValue("tw_app_prompt", "1");
mPersist.SetValue("tw_app_install_system", "1");
mData.SetValue("tw_app_install_status", "0"); // 0 = no status, 1 = not installed, 2 = already installed
- mPersist.SetValue("tw_enable_legacy_props", "0");
#endif
pthread_mutex_unlock(&m_valuesLock);