forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user