summaryrefslogtreecommitdiff
path: root/db845c
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2021-01-12 16:45:02 +0530
committerAmit Pundir <amit.pundir@linaro.org>2021-01-12 16:48:50 +0530
commit44f3990603403ab80bf74fece9950efdb22a3eae (patch)
tree0ad8d81474039aa680147031f550180a8c84bc27 /db845c
parentdd127dd88000c0ccaae8e500f0c0cbb88aab7fb4 (diff)
db845c: Make it a Virtual A/B device
All dynamic partitions are A/B. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I9650626b5a463ff9f368680ae8c32b8432fee1e8
Diffstat (limited to 'db845c')
-rw-r--r--db845c/device.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/db845c/device.mk b/db845c/device.mk
index 2240981..0c2cbf9 100644
--- a/db845c/device.mk
+++ b/db845c/device.mk
@@ -20,6 +20,16 @@ PRODUCT_SOONG_NAMESPACES += \
# setup dalvik vm configs
$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
+# Enable Virtual A/B
+AB_OTA_UPDATER := true
+AB_OTA_PARTITIONS += \
+ product \
+ system \
+ system_ext \
+ vendor
+
+$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
+
PRODUCT_COPY_FILES := \
$(DB845C_KERNEL_DIR)/Image.gz:kernel \
$(DB845C_KERNEL_DIR)/sdm845-db845c.dtb:dtb.img \