diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2017-09-08 19:17:03 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2017-09-08 19:17:53 +0200 |
commit | 75aa615767457f2b62dda65b16ded41b0e6df11f (patch) | |
tree | 98a4c6f60f45fd9746ba7b122fd1a82ce9113aee /data.cpp | |
parent | Update to AOSP 8.0 base (diff) | |
download | android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.tar android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.tar.gz android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.tar.bz2 android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.tar.lz android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.tar.xz android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.tar.zst android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.zip |
Diffstat (limited to 'data.cpp')
-rw-r--r-- | data.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -833,15 +833,20 @@ 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); |