axolotl: retrofit virtual A/B support
This bumps boot control HAL to 1.1, as it is a requirement[1]
for virtual A/B.
Note: This also requires a current bootloader (3.5 and above).
[1] - https://source.android.com/devices/tech/ota/virtual_ab/implement#boot-control-hal
Change-Id: I223428192d0abd6482c4574ced10d111fbabe38d
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/device.mk b/device.mk
index 1485823..8330f1a 100644
--- a/device.mk
+++ b/device.mk
@@ -12,6 +12,9 @@
# Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
+# Retrofit virtual A/B
+$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota_retrofit.mk)
+
# Inherit vendor blobs
$(call inherit-product-if-exists, vendor/shift/axolotl/axolotl-vendor.mk)
@@ -116,12 +119,10 @@
# Boot control
PRODUCT_PACKAGES += \
- android.hardware.boot@1.0-impl:64 \
- android.hardware.boot@1.0-service \
+ android.hardware.boot@1.1-impl-qti \
+ android.hardware.boot@1.1-impl-qti.recovery \
+ android.hardware.boot@1.1-service \
bootctrl.sdm845 \
-
-PRODUCT_PACKAGES += \
- android.hardware.boot@1.0-impl.recovery \
bootctrl.sdm845.recovery \
PRODUCT_PACKAGES_DEBUG += \