Enable reboot to fastbootd if TW_INCLUDE_FASTBOOTD is set
Change-Id: I599841d7dab28c51700e9c5f445654263edf3336 (cherry picked from commit 97be4321d42d1efa01a981e25c686c19f037fb5a)
This commit is contained in:
@@ -411,6 +411,9 @@ endif
|
||||
ifneq ($(TW_BACKUP_EXCLUSIONS),)
|
||||
LOCAL_CFLAGS += -DTW_BACKUP_EXCLUSIONS='"$(TW_BACKUP_EXCLUSIONS)"'
|
||||
endif
|
||||
ifeq ($(TW_INCLUDE_FASTBOOTD), true)
|
||||
LOCAL_CFLAGS += -DTW_INCLUDE_FASTBOOTD
|
||||
endif
|
||||
|
||||
LOCAL_C_INCLUDES += system/vold \
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user