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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user