Enable PRODUCT_SET_DEBUGFS_RESTRICTIONS on userdebug builds am: f43da9a37c am: baa80dcd81 am: b39c887a16

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

Change-Id: I01c4de82b7e0d10585dec0bc12bf4ff7827045ac
This commit is contained in:
Aaron Ding 2021-06-04 08:13:13 +00:00 committed by Automerger Merge Worker
commit 5fb63ff7d0

View file

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