From 6d8d406b2dde33c82dbadf282d0cf99f7f50d648 Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Tue, 13 Apr 2021 13:39:06 +0800 Subject: [PATCH] make permissive setting compatible to boot image version Bug: 185196274 Test: boot to home with SELinux under permissive mode Change-Id: I4b521dd765ccbff831cf17c1d9817266b37e6990 --- factory_common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/factory_common.mk b/factory_common.mk index c8d0f586..e1d91073 100644 --- a/factory_common.mk +++ b/factory_common.mk @@ -52,6 +52,7 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_content_detection_f # factory should always has SELinux permissive BOARD_BOOTCONFIG += androidboot.selinux=permissive +BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive # Disable Bluetooth as default in factory build DEVICE_PACKAGE_OVERLAYS += device/google/gs101/overlay-factory