From 8e213fdf08e74e0e5bf21bf18556a398880b50c2 Mon Sep 17 00:00:00 2001 From: that Date: Sat, 17 Oct 2015 00:17:53 +0200 Subject: fix build in Omni 4.4 Change-Id: Ida3984a6b774c2da12342d48d8644cd18de7396c --- Android.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Android.mk b/Android.mk index dab1b1705..1fc8c53ba 100644 --- a/Android.mk +++ b/Android.mk @@ -28,8 +28,10 @@ endif ifeq ($(PROJECT_PATH_AGREES),true) +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 20; echo $$?),0) # Make recovery domain permissive for TWRP -BOARD_SEPOLICY_UNION += twrp.te + BOARD_SEPOLICY_UNION += twrp.te +endif include $(CLEAR_VARS) -- cgit v1.2.3