Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4a1e2a5 authored by Ikjoon Jang's avatar Ikjoon Jang Committed by Automerger Merge Worker
Browse files

Merge "Revert "Remove minor version from sepolicy version"" into main am: c104ba55 am: 338e56c4

parents 9a467f3e 338e56c4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -39,7 +39,6 @@ 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;
@@ -140,7 +139,7 @@ static jstring android_os_VintfObject_getPlatformSepolicyVersion(JNIEnv* env, jc
        return nullptr;
    }

    SepolicyVersion latest;
    Version latest;
    for (const auto& range : versions) {
        latest = std::max(latest, range.maxVer());
    }