zenfone8: 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 SDM845, 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 <zhongcy95@gmail.com>
Change-Id: Ie4d9c3396ab18a5ea5e7fd03f5fa352204ce40fd
diff --git a/BoardConfig.mk b/BoardConfig.mk
index cf118da..6936594 100755
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -85,6 +85,7 @@
# Broken flags
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
+BUILD_BROKEN_ENFORCE_SYSPROP_OWNER := true
# charger
BOARD_CHARGER_DISABLE_INIT_BLANK := true