From 9d2a20ab9aca0659befa92656b27b332cf54775b Mon Sep 17 00:00:00 2001 From: Chenyang Zhong Date: Sat, 16 Oct 2021 00:51:21 -0400 Subject: [PATCH] breeze: Relax sysprop owner enforcement Quoting commit afc09932f6fa07c5f6beffbcdc2bb4691e527321 in system/sepolicy [1]: "Devices launching with R or eariler can this by setting following under BoardConfig.mk" It is impractical to replace every prop definition from qcom to vendor_property_type for old platforms like mt6763, so relax the enforcement to avoid triggering millions of neverallows. ref: [1] https://android.googlesource.com/platform/system/sepolicy/+/afc09932f6fa07c5f6beffbcdc2bb4691e527321 Signed-off-by: Chenyang Zhong Change-Id: I287b5fe7ccaa52428d3c5f7fd22bfc22802bf00a Signed-off-by: baibhab --- BoardConfig.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index 8720400..b237d90 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -28,6 +28,7 @@ TARGET_NO_BOOTLOADER := true # Build BUILD_BROKEN_DUP_RULES := true BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true +BUILD_BROKEN_ENFORCE_SYSPROP_OWNER := true # Display DPI TARGET_SCREEN_DENSITY := 420