Enable PRODUCT_SET_DEBUGFS_RESTRICTIONS on userdebug builds am: f43da9a37c

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

Change-Id: Ib65219b3fad006e06869092d30395e8cca10d7a8
This commit is contained in:
Aaron Ding 2021-06-04 07:38:53 +00:00 committed by Automerger Merge Worker
commit 94e9f747cd

View file

@ -215,8 +215,10 @@ DEVICE_PACKAGE_OVERLAYS += device/google/gs101/overlay
# This will be updated to 31 (Android S) for shipping
PRODUCT_SHIPPING_API_LEVEL := 30
# Temporarily disable the debugfs restriction on 31 (Android S)
PRODUCT_SET_DEBUGFS_RESTRICTIONS := false
# Enable the debugfs restriction before upgrading shipping abi level to 31 (Android S)
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
endif
# Enforce the Product interface
PRODUCT_PRODUCT_VNDK_VERSION := current