本补丁解决Android 9.0 OTA差分升级遇到的校验不通过问题。
diff --git a/system/libvintf/RuntimeInfo.cpp b/system/libvintf/RuntimeInfo.cpp
old mode 100644
new mode 100755
index 63a8c186b5..ce961f51ff
--- a/system/libvintf/RuntimeInfo.cpp
+++ b/system/libvintf/RuntimeInfo.cpp
@@ -181,7 +181,9 @@ bool RuntimeInfo::checkCompatibility(const CompatibilityMatrix& mat, std::string
<< " does not match framework matrix " << matAvb;
*error = ss.str();
}
- return false;
+ //return false;
+ //不校验Vbmeta version(0.0)和framework matrix(1.0),否则recovery里面会报错
+ return true;
}
}