Temporary workaround for fwk compat mat vs. Runtime info
check at OTA time.
This works around:
Bug: 38325029 Add <avb> entry to framework compatibility matrix
Bug: 38324908 Add <kernel> entry to framework compatibility matrix
Bug: 38321140 Device stuck "System update downloading"
And generates:
Bug: 38325817
Test: `adb shell vintf` on new devices
Test: try fake OTA on new devices
Change-Id: I304fa475e4ab282753312747d1c758fe72ecffac
Merged-In: I304fa475e4ab282753312747d1c758fe72ecffac
diff --git a/VintfObject.cpp b/VintfObject.cpp
index 16fe34e..4558708 100644
--- a/VintfObject.cpp
+++ b/VintfObject.cpp
@@ -286,7 +286,9 @@
if (error)
error->insert(0, "Runtime info and framework compatibility matrix "
"are incompatible: ");
- return INCOMPATIBLE;
+ // TODO(b/38325029): OTA should check compatibility of kernel version
+ // and AVB version.
+ // return INCOMPATIBLE;
}
}