CM: disable root by default

Change-Id: Iab89190038e164ebd7f806050d552a2b3bdccc58
This commit is contained in:
repo Shareef Ali 2014-12-29 17:52:04 -06:00 committed by Steve Kondik
parent 54f23af16e
commit 4bcfc3137a

View File

@ -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