Merge "Revert "Remove minor version from sepolicy version"" into main
diff --git a/core/jni/android_os_VintfObject.cpp b/core/jni/android_os_VintfObject.cpp
index 8dc9d0a..ce4a337 100644
--- a/core/jni/android_os_VintfObject.cpp
+++ b/core/jni/android_os_VintfObject.cpp
@@ -39,7 +39,6 @@
using vintf::HalManifest;
using vintf::Level;
using vintf::SchemaType;
-using vintf::SepolicyVersion;
using vintf::to_string;
using vintf::toXml;
using vintf::Version;
@@ -140,7 +139,7 @@
return nullptr;
}
- SepolicyVersion latest;
+ Version latest;
for (const auto& range : versions) {
latest = std::max(latest, range.maxVer());
}