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: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
Daniel Teske
2014-04-10 15:52:22 +02:00
parent 117dc0d0b2
commit 75dd839469

View File

@@ -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;
}