From b97b5784032d5bce22c37228f15ebd0088f316b0 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Tue, 31 Mar 2020 16:10:30 -0400 Subject: [PATCH] extra: Use lineage's custom downgrade property instead * We set the AOSP one globally and use it in recovery, but don't want normal users to be able to downgrade via Updater, so left Updater using the lineage prop. --- product.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/product.mk b/product.mk index b63cb2c..08ae7dc 100644 --- a/product.mk +++ b/product.mk @@ -20,13 +20,13 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ ## OpenWeatherProvider PRODUCT_PACKAGES += OpenWeatherProviderPrebuilt -## Updater -PRODUCT_SYSTEM_DEFAULT_PROPERTIES += lineage.updater.uri="https://updater.oddsolutions.us/api/v1/{device}/{type}/{incr}" -PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.ota.allow_downgrade=true - ## Recovery PRODUCT_DEFAULT_PROPERTY_OVERRIDE += persist.sys.recovery_update=true +## Updater +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += lineage.updater.uri="https://updater.oddsolutions.us/api/v1/{device}/{type}/{incr}" +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += lineage.updater.allow_downgrading=true + ## Signing PRODUCT_DEFAULT_DEV_CERTIFICATE := vendor/certs/releasekey #PRODUCT_VERITY_SIGNING_KEY := vendor/certs/verity