From f0a7e59668ef654a2e21789ad8be1ccae21c7e8d Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 4 Apr 2019 10:06:41 -0500 Subject: Fix recovery-twrp in some old CM trees Change-Id: Ie401ab8ec39b721c3747475bcc8269f78963d31c --- Android.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Android.mk b/Android.mk index e5220a5ed..a25224428 100755 --- a/Android.mk +++ b/Android.mk @@ -24,6 +24,13 @@ else ifeq ($(LOCAL_PATH),bootable/recovery) PROJECT_PATH_AGREES := true BOARD_SEPOLICY_DIRS += bootable/recovery/sepolicy + else + ifeq ($(LOCAL_PATH),bootable/recovery-twrp) + ifeq ($(RECOVERY_VARIANT),twrp) + PROJECT_PATH_AGREES := true + BOARD_SEPOLICY_DIRS += bootable/recovery-twrp/sepolicy + endif + endif endif endif -- cgit v1.2.3