Android: Add extension to the package name in SdkManager

- Add "Extension 4" if the name contain "-ext4"
- Fix issue with two Tiramisu packages, now one of them
conatin "Extension 4" in the end.

Change-Id: Ib84807e9401acdef53c3dc1195dc3dc6ef34a57d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Artem Sokolovskii
2023-01-17 16:03:23 +01:00
parent 7c6a00b4e7
commit 020320ab78
6 changed files with 27 additions and 2 deletions

View File

@@ -154,5 +154,13 @@ int platformNameToApiLevel(const QString &platformName)
return apiLevel;
}
QString convertNameToExtension(const QString &name)
{
if (name.endsWith("ext4"))
return " Extension 4";
return {};
}
} // namespace Internal
} // namespace Android