Allow A/B OTA downgrades on debuggable builds

Change-Id: I361c6d71f7b4316cf023ad0b36fdc488e37d6176
This commit is contained in:
Luca Stefani 2020-03-26 08:15:14 +01:00
parent 461ebc0b54
commit b3bd728021

View file

@ -37,6 +37,10 @@ PRODUCT_COPY_FILES += \
vendor/lineage/prebuilt/common/bin/backuptool_ab.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.sh \
vendor/lineage/prebuilt/common/bin/backuptool_ab.functions:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.functions \
vendor/lineage/prebuilt/common/bin/backuptool_postinstall.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_postinstall.sh
ifneq ($(TARGET_BUILD_VARIANT),user)
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.ota.allow_downgrade=true
endif
endif
# Backup Services whitelist