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

@@ -10,6 +10,7 @@ const char avdManufacturerError[] = "no longer exists as a device";
AndroidDeviceInfoList parseAvdList(const QString &output, Utils::FilePaths *avdErrorPaths);
int platformNameToApiLevel(const QString &platformName);
QString convertNameToExtension(const QString &name);
} // namespace Internal
} // namespace Android