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 ## OpenWeatherProvider
PRODUCT_PACKAGES += OpenWeatherProviderPrebuilt 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 ## Recovery
PRODUCT_DEFAULT_PROPERTY_OVERRIDE += persist.sys.recovery_update=true 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 ## Signing
PRODUCT_DEFAULT_DEV_CERTIFICATE := vendor/certs/releasekey PRODUCT_DEFAULT_DEV_CERTIFICATE := vendor/certs/releasekey
#PRODUCT_VERITY_SIGNING_KEY := vendor/certs/verity #PRODUCT_VERITY_SIGNING_KEY := vendor/certs/verity

Loading…
Cancel
Save