Allow A/B OTA downgrades on debuggable builds

Change-Id: I361c6d71f7b4316cf023ad0b36fdc488e37d6176
gugelfrei
Luca Stefani 4 years ago
parent 461ebc0b54
commit b3bd728021

@ -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

Loading…
Cancel
Save