Add DISABLE_GAPPS switch and disable package cache

Also move theme properties to system
cm-14.1
Rashed Abdel-Tawab 7 years ago
parent ecd136f8c6
commit 59219bebfb
No known key found for this signature in database
GPG Key ID: 87867AAE006CB094
  1. 4
      gapps.mk
  2. 2
      lineage-package_cache.rc
  3. 12
      product.mk

@ -6,6 +6,6 @@ GAPPS_FORCE_PIXEL_LAUNCHER := true
$(call inherit-product-if-exists, vendor/opengapps/build/opengapps-packages.mk)
ifneq ($(filter msm8996 msm8998,$(TARGET_BOARD_PLATFORM)),)
#ifneq ($(filter msm8996 msm8998,$(TARGET_BOARD_PLATFORM)),)
PRODUCT_PACKAGES += GoogleCam
endif # msm8996 msm8998
#endif # msm8996 msm8998

@ -0,0 +1,2 @@
on post-fs-data
setprop pm.boot.disable_package_cache true

@ -20,18 +20,24 @@ endif
PRODUCT_PACKAGES += auditd
# Disable package cache on all builds
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/lineage-package_cache.rc:system/etc/init/lineage-package_cache.rc
PRODUCT_PROPERTY_OVERRIDES += ro.opa.eligible_device=true
# Themes
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
PRODUCT_PROPERTY_OVERRIDES += ro.boot.vendor.overlay.theme=com.google.android.theme.pixel
PRODUCT_PROPERTY_OVERRIDES += ro.com.google.ime.theme_id=5
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.boot.vendor.overlay.theme=com.google.android.theme.pixel
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.com.google.ime.theme_id=5
PRODUCT_PACKAGES += \
PixelTheme
PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.config.vc_call_vol_steps=7 \
ro.config.media_vol_steps=18
$(call prepend-product-if-exists, vendor/rashed/product.mk)
ifneq ($(DISABLE_GAPPS),true)
$(call prepend-product-if-exists, vendor/extra/gapps.mk)
endif

Loading…
Cancel
Save