diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2016-12-05 22:25:19 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2016-12-13 21:04:48 +0100 |
commit | 1b190166eb1295c6339f6100e4fbb92c81b81ea6 (patch) | |
tree | 6493cc3a385c67f079d52873b97963656cf084d2 /data.cpp | |
parent | Support new AB OTA zips (diff) | |
download | android_bootable_recovery-1b190166eb1295c6339f6100e4fbb92c81b81ea6.tar android_bootable_recovery-1b190166eb1295c6339f6100e4fbb92c81b81ea6.tar.gz android_bootable_recovery-1b190166eb1295c6339f6100e4fbb92c81b81ea6.tar.bz2 android_bootable_recovery-1b190166eb1295c6339f6100e4fbb92c81b81ea6.tar.lz android_bootable_recovery-1b190166eb1295c6339f6100e4fbb92c81b81ea6.tar.xz android_bootable_recovery-1b190166eb1295c6339f6100e4fbb92c81b81ea6.tar.zst android_bootable_recovery-1b190166eb1295c6339f6100e4fbb92c81b81ea6.zip |
Diffstat (limited to '')
-rw-r--r-- | data.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -820,6 +820,13 @@ void DataManager::SetDefaultValues() mData.SetValue("tw_has_adopted_storage", "0"); +#ifdef AB_OTA_UPDATER + LOGINFO("AB_OTA_UPDATER := true\n"); + mConst.SetValue("tw_has_boot_slots", "1"); +#else + mConst.SetValue("tw_has_boot_slots", "0"); +#endif + pthread_mutex_unlock(&m_valuesLock); } |