Permalink
Browse files

Disable SU by default

- We plan on distributing an addon for our SU
- Developers that want SU by default can export
    WITH_SU=true to their env
- This helps with application compatibility for
    various services, while maintaining user flexibility

Change-Id: I6d52159676f805c3698ff59c896d943a3a4b25db
  • Loading branch information...
ciwrl authored and Drgravy committed Feb 2, 2017
1 parent 9374895 commit 284bd7e4efa8e5049313105356f8bbe2b49e2cf4
Showing with 12 additions and 3 deletions.
  1. +3 −1 configs/common.mk
  2. +3 −1 configs/common_mini_tablet_wifionly.mk
  3. +6 −1 configs/common_packages.mk
@@ -1,4 +1,6 @@
SUPERUSER_EMBEDDED := true
ifeq ($(WITH_SU),true)
SUPERUSER_EMBEDDED := true
endif
# Common overlay
DEVICE_PACKAGE_OVERLAYS += vendor/aicp/overlay/common
@@ -1,4 +1,6 @@
SUPERUSER_EMBEDDED := true
ifeq ($(WITH_SU),true)
SUPERUSER_EMBEDDED := true
endif
# Common overlay
DEVICE_PACKAGE_OVERLAYS += vendor/aicp/overlay/common_tablet
@@ -47,11 +47,16 @@ PRODUCT_PACKAGES += \
PhotoPhase \
procmem \
procrank \
su \
Superuser \
Torch \
VisualizationWallpapers
# Conditionally build in su
ifeq ($(WITH_SU),true)
PRODUCT_PACKAGES += \
su
endif
# OmniRom packages
PRODUCT_PACKAGES += \
OmniStyle

0 comments on commit 284bd7e

Please sign in to comment.