summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorthat <github@that.at>2015-10-17 00:17:53 +0200
committerEthan Yonker <dees_troy@teamw.in>2015-10-22 15:10:38 +0200
commit8e213fdf08e74e0e5bf21bf18556a398880b50c2 (patch)
treecb709738684c3a5fa8efcfda319b469a9c82fb80 /Android.mk
parentAllow text to scale to fit (diff)
downloadandroid_bootable_recovery-8e213fdf08e74e0e5bf21bf18556a398880b50c2.tar
android_bootable_recovery-8e213fdf08e74e0e5bf21bf18556a398880b50c2.tar.gz
android_bootable_recovery-8e213fdf08e74e0e5bf21bf18556a398880b50c2.tar.bz2
android_bootable_recovery-8e213fdf08e74e0e5bf21bf18556a398880b50c2.tar.lz
android_bootable_recovery-8e213fdf08e74e0e5bf21bf18556a398880b50c2.tar.xz
android_bootable_recovery-8e213fdf08e74e0e5bf21bf18556a398880b50c2.tar.zst
android_bootable_recovery-8e213fdf08e74e0e5bf21bf18556a398880b50c2.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 3 insertions, 1 deletions
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)