diff options
| -rw-r--r-- | core/jni/android_os_VintfObject.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/jni/android_os_VintfObject.cpp b/core/jni/android_os_VintfObject.cpp index 8dc9d0aa578e..ce4a33735c6d 100644 --- a/core/jni/android_os_VintfObject.cpp +++ b/core/jni/android_os_VintfObject.cpp @@ -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()); } |