Allow A/B OTA downgrades on debuggable builds
Change-Id: I361c6d71f7b4316cf023ad0b36fdc488e37d6176
This commit is contained in:
parent
461ebc0b54
commit
b3bd728021
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue