commit | 1b190166eb1295c6339f6100e4fbb92c81b81ea6 | [log] [tgz] |
---|---|---|
author | Ethan Yonker <dees_troy@teamw.in> | Mon Dec 05 15:25:19 2016 -0600 |
committer | Ethan Yonker <dees_troy@teamw.in> | Tue Dec 13 14:04:48 2016 -0600 |
tree | 6493cc3a385c67f079d52873b97963656cf084d2 | |
parent | 941a899695a6b4167918c428c88c25b3b1fedff0 [diff] [blame] |
Add boot slot support Change-Id: I7eaf80e327985f53791f90fbdebad022a9650d31
diff --git a/data.cpp b/data.cpp index b034bf8..62709a5 100644 --- a/data.cpp +++ b/data.cpp
@@ -820,6 +820,13 @@ 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); }