enforce debugfs constraint on user build

Bug: 225815474
Test: build pass
Change-Id: I6507e784b3597220920f59d969bbeafdd199174b
This commit is contained in:
Adam Shih 2022-03-23 11:09:28 +08:00 committed by TreeHugger Robot
parent b8b02bc357
commit c676225fef
2 changed files with 3 additions and 3 deletions

View file

@ -230,9 +230,6 @@ DEVICE_PACKAGE_OVERLAYS += device/google/gs201/overlay
# This will be updated to 33 (Android T) for shipping # This will be updated to 33 (Android T) for shipping
PRODUCT_SHIPPING_API_LEVEL := 32 PRODUCT_SHIPPING_API_LEVEL := 32
# Temporarily disable the debugfs restriction on 31 (Android S)
PRODUCT_SET_DEBUGFS_RESTRICTIONS := false
# Enforce the Product interface # Enforce the Product interface
PRODUCT_PRODUCT_VNDK_VERSION := current PRODUCT_PRODUCT_VNDK_VERSION := current
PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := true PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := true

View file

@ -57,6 +57,9 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_content_detection_f
BOARD_BOOTCONFIG += androidboot.selinux=permissive BOARD_BOOTCONFIG += androidboot.selinux=permissive
BOARD_KERNEL_CMDLINE += 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 # Disable Bluetooth as default in factory build
DEVICE_PACKAGE_OVERLAYS += device/google/gs201/overlay-factory DEVICE_PACKAGE_OVERLAYS += device/google/gs201/overlay-factory