CM: disable root by default
Change-Id: Iab89190038e164ebd7f806050d552a2b3bdccc58
This commit is contained in:
parent
54f23af16e
commit
4bcfc3137a
1 changed files with 1 additions and 7 deletions
|
@ -203,22 +203,16 @@ PRODUCT_PACKAGES += \
|
|||
|
||||
# These packages are excluded from user builds
|
||||
ifneq ($(TARGET_BUILD_VARIANT),user)
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
procmem \
|
||||
procrank \
|
||||
Superuser \
|
||||
su
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.sys.root_access=1
|
||||
else
|
||||
endif
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.sys.root_access=0
|
||||
|
||||
endif
|
||||
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/common
|
||||
|
||||
PRODUCT_VERSION_MAJOR = 12
|
||||
|
|
Loading…
Reference in a new issue