enforce debugfs constraint on user build am: c676225fef

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17338964

Change-Id: I9ee3af233310edfbffec028de6dba3378d37b0da
This commit is contained in:
Adam Shih 2022-03-24 04:12:13 +00:00 committed by Automerger Merge Worker
commit 33f5f28ced
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