Skip to content
Snippets Groups Projects
Commit 2a99c56d authored by Inseob Kim's avatar Inseob Kim Committed by Gerrit Code Review
Browse files

Merge "Revert^2 "Remove minor version from sepolicy version"" into main

parents 4671ab97 4177b39b
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ using vintf::CompatibilityMatrix;
using vintf::HalManifest;
using vintf::Level;
using vintf::SchemaType;
using vintf::SepolicyVersion;
using vintf::to_string;
using vintf::toXml;
using vintf::Version;
......@@ -139,7 +140,7 @@ static jstring android_os_VintfObject_getPlatformSepolicyVersion(JNIEnv* env, jc
return nullptr;
}
Version latest;
SepolicyVersion latest;
for (const auto& range : versions) {
latest = std::max(latest, range.maxVer());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment