summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device.mk3
-rw-r--r--factory_common.mk3
2 files changed, 3 insertions, 3 deletions
diff --git a/device.mk b/device.mk
index deffaae..2a00b44 100644
--- a/device.mk
+++ b/device.mk
@@ -230,9 +230,6 @@ DEVICE_PACKAGE_OVERLAYS += device/google/gs201/overlay
# This will be updated to 33 (Android T) for shipping
PRODUCT_SHIPPING_API_LEVEL := 32
-# Temporarily disable the debugfs restriction on 31 (Android S)
-PRODUCT_SET_DEBUGFS_RESTRICTIONS := false
-
# Enforce the Product interface
PRODUCT_PRODUCT_VNDK_VERSION := current
PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := true
diff --git a/factory_common.mk b/factory_common.mk
index 4a5d42b..fc74587 100644
--- a/factory_common.mk
+++ b/factory_common.mk
@@ -57,6 +57,9 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_content_detection_f
BOARD_BOOTCONFIG += androidboot.selinux=permissive
BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
+# Disable DebugFS restrictions in factory builds
+PRODUCT_SET_DEBUGFS_RESTRICTIONS := false
+
# Disable Bluetooth as default in factory build
DEVICE_PACKAGE_OVERLAYS += device/google/gs201/overlay-factory