decryption: solve specific decryption problems on some devices
Change-Id: I832c16da3d45888299fd9f96888ed8a85e5d48c9
(cherry picked from commit 9ab7cf500595c9809142c3294ca477fcedf7e56d)
diff --git a/Android.mk b/Android.mk
index 5048557..fe10883 100755
--- a/Android.mk
+++ b/Android.mk
@@ -185,6 +185,10 @@
LOCAL_CFLAGS += -DTW_NO_FLASH_CURRENT_TWRP
endif
+ifeq ($(TW_PREPARE_DATA_MEDIA_EARLY),true)
+ LOCAL_CFLAGS += -DTW_PREPARE_DATA_MEDIA_EARLY
+endif
+
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/system/bin
ifeq ($(TARGET_RECOVERY_TWRP_LIB),)