diff options
| author | 2024-02-06 11:04:42 +0900 | |
|---|---|---|
| committer | 2024-02-06 11:04:53 +0900 | |
| commit | bd60e4e8e68bb67902101a66eb44e39baa9143a3 (patch) | |
| tree | 18208cc281725c4144899dd11a8d08c9c0129464 | |
| parent | 489d336733b9d08e179b6e5b3f70099fcbbb726d (diff) | |
Remove minor version from sepolicy version
Minor version hasn't been used. As we are moving to a new versioning
scheme, removing the minor version to align with other vendor
interfaces.
Bug: 314010177
Test: build and boot
Change-Id: Ife866f15d33197656f7c9c393447429a309a29df
| -rw-r--r-- | core/jni/android_os_VintfObject.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/jni/android_os_VintfObject.cpp b/core/jni/android_os_VintfObject.cpp index ce4a33735c6d..8dc9d0aa578e 100644 --- a/core/jni/android_os_VintfObject.cpp +++ b/core/jni/android_os_VintfObject.cpp @@ -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()); } |