Add boot slot support
Change-Id: I7eaf80e327985f53791f90fbdebad022a9650d31
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user