Enable reboot to fastbootd if TW_INCLUDE_FASTBOOTD is set

Change-Id: I599841d7dab28c51700e9c5f445654263edf3336
(cherry picked from commit 97be4321d42d1efa01a981e25c686c19f037fb5a)
This commit is contained in:
me-cafebabe
2022-08-14 05:57:16 +08:00
committed by bigbiff
parent 22ad8ac54d
commit 061bcf1021
2 changed files with 7 additions and 0 deletions

View File

@@ -719,6 +719,10 @@ void DataManager::SetDefaultValues()
printf("TW_HAS_EDL_MODE := true\n");
mConst.SetValue(TW_EDL_MODE, "1");
#endif
#ifdef TW_INCLUDE_FASTBOOTD
printf("TW_INCLUDE_FASTBOOTD := true\n");
mConst.SetValue(TW_FASTBOOT_MODE, "1");
#endif
#ifdef PRODUCT_USE_DYNAMIC_PARTITIONS
printf("PRODUCT_USE_DYNAMIC_PARTITIONS := true\n");
mConst.SetValue(TW_FASTBOOT_MODE, "1");