selinux: Only union sepolicy in SDKs 21,22

Manual union is not needed in Android 6.0+.

Change-Id: I7e321fb90b4333da349cc8ad8d2d78d990258b65
This commit is contained in:
Matt Mower
2015-12-10 01:31:15 -06:00
committed by Ethan Yonker
parent 666d151d6e
commit 047723c5aa
+1 -1
View File
@@ -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