Commit 75dd8394 authored by Daniel Teske's avatar Daniel Teske

Android: android list target output doesn't always end with a marker

Handle the case where the output doesn't end in ====

Change-Id: Ia37f64259c3cae9a016d854dc1b056d9a4459a62
Reviewed-by: default avatarBogDan Vatra <bogdan@kde.org>
parent 117dc0d0
......@@ -306,6 +306,13 @@ void AndroidConfig::updateAvailableSdkPlatforms() const
platform = SdkPlatform();
}
}
if (platform.apiLevel != -1) {
auto it = qLowerBound(m_availableSdkPlatforms.begin(), m_availableSdkPlatforms.end(),
platform, sortSdkPlatformByApiLevel);
m_availableSdkPlatforms.insert(it, platform);
}
m_availableSdkPlatformsUpToDate = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment