From 047723c5aa282faa9e79967f78a2219fe1d68d32 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Thu, 10 Dec 2015 01:31:15 -0600 Subject: selinux: Only union sepolicy in SDKs 21,22 Manual union is not needed in Android 6.0+. Change-Id: I7e321fb90b4333da349cc8ad8d2d78d990258b65 --- Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.mk b/Android.mk index e0f784868..6e7478c4e 100644 --- a/Android.mk +++ b/Android.mk @@ -28,7 +28,7 @@ endif ifeq ($(PROJECT_PATH_AGREES),true) -ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 20; echo $$?),0) +ifneq (,$(filter $(PLATFORM_SDK_VERSION), 21 22)) # Make recovery domain permissive for TWRP BOARD_SEPOLICY_UNION += twrp.te endif -- cgit v1.2.3