Create a flag to include resetprop in the TWRP
The flag is:
TW_INCLUDE_RESETPROP := true
Change-Id: I4d4d25a6d5bbd2330efd7f184d0f878a8cf0346e
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index d330799..872deaa 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -577,9 +577,9 @@
endif
endif
-ifeq ($(TW_INCLUDE_REPACKTOOLS), true)
+ifneq (,$(filter $(TW_INCLUDE_REPACKTOOLS) $(TW_INCLUDE_RESETPROP), true))
ifeq ($(wildcard external/magisk-prebuilt/Android.mk),)
- $(warning Magisk repacking tools not found!)
+ $(warning Magisk prebuilt tools not found!)
$(warning Please place https://github.com/TeamWin/external_magisk-prebuilt)
$(warning into external/magisk-prebuilt)
$(error magiskboot prebuilts not present; exiting)