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

Commit 4177b39b authored by Inseob Kim's avatar Inseob Kim Committed by Gerrit Code Review
Browse files

Revert^2 "Remove minor version from sepolicy version"

caeab81a

Change-Id: Ie5da143d8db3baa93b98cc8fd93d139e54048adc
parent caeab81a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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());
    }