diff options
Diffstat (limited to 'data.cpp')
-rw-r--r-- | data.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -827,6 +827,16 @@ void DataManager::SetDefaultValues() mConst.SetValue("tw_has_boot_slots", "0"); #endif +#ifdef TW_OEM_BUILD + LOGINFO("TW_OEM_BUILD := true\n"); + mConst.SetValue("tw_oem_build", "1"); +#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 +#endif + pthread_mutex_unlock(&m_valuesLock); } |