More overlay work

This commit is contained in:
Tad 2018-07-12 22:29:21 -04:00
parent f95b73fe06
commit 2c6ba127d4
2 changed files with 14 additions and 14 deletions

View File

@ -5,25 +5,26 @@
DEVICE_PACKAGE_OVERLAYS += vendor/divested/overlay/common
PRODUCT_PACKAGES += ModuleBlocker
#Extra settings
PRODUCT_BUILD_PROP_OVERRIDES += \
BUILD_UTC_DATE=0
PRODUCT_PROPERTY_OVERRIDES += \
keyguard.no_require_sim=true \
ro.config.notification_sound=Pong.ogg \
ro.config.alarm_alert=Alarm_Buzzer.ogg \
ro.build.selinux=1 \
ro.storage_manager.enabled=true \
ro.cmlegal.url=https://divestos.xyz/index.php?page=about
PRODUCT_BUILD_PROP_OVERRIDES += \
BUILD_UTC_DATE=0
keyguard.no_require_sim=true \
ro.config.notification_sound=Pong.ogg \
ro.config.alarm_alert=Alarm_Buzzer.ogg \
ro.build.selinux=1 \
ro.storage_manager.enabled=true
ifneq ($(TARGET_BUILD_VARIANT),eng)
ADDITIONAL_DEFAULT_PROPERTIES += \
ro.adb.secure=1
ADDITIONAL_DEFAULT_PROPERTIES += \
ro.adb.secure=1
endif
#Copy extra files
PRODUCT_COPY_FILES += \
vendor/divested/extras/etc/dns66.json:system/etc/dns66/settings.json
vendor/divested/extras/etc/dns66.json:system/etc/dns66/settings.json
#Include packages
PRODUCT_PACKAGES += ModuleBlocker
include vendor/divested/packages.mk

View File

@ -165,7 +165,6 @@ if [ "$DOS_DEBLOBBER_REMOVE_AUDIOFX" = true ]; then
fi;
sed -i 's/CM_BUILDTYPE := UNOFFICIAL/CM_BUILDTYPE := dos/' config/common.mk; #Change buildtype
if [ "$DOS_NON_COMMERCIAL_USE_PATCHES" = true ]; then sed -i 's/CM_BUILDTYPE := dos/CM_BUILDTYPE := dosNC/' config/common.mk; fi;
cp "$DOS_PATCHES/android_vendor_cm/config.xml" overlay/common/vendor/cmsdk/cm/res/res/values/config.xml; #Per app performance profiles
echo 'include vendor/divested/divested.mk' >> config/common.mk; #Include our customizations
enterAndClear "vendor/cmsdk";