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.
cm-14.1
Nolen Johnson 5 years ago
parent 883ed5cb29
commit b97b578403
  1. 8
      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

Loading…
Cancel
Save