forked from qt-creator/qt-creator
Android: Enable emulator tool installation
Let Android sdk manager UI install the emulator tool. AVD needs this tool to manage AVD's. Task-number: QTCREATORBUG-19332 Change-Id: If836c511ca4a5673470d42c14115afa21b1b96fd Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -52,8 +52,9 @@ public:
|
||||
PlatformToolsPackage = 1 << 3,
|
||||
SdkPlatformPackage = 1 << 4,
|
||||
SystemImagePackage = 1 << 5,
|
||||
EmulatorToolsPackage = 1 << 6,
|
||||
AnyValidType = SdkToolsPackage | BuildToolsPackage | PlatformToolsPackage |
|
||||
SdkPlatformPackage | SystemImagePackage
|
||||
SdkPlatformPackage | SystemImagePackage | EmulatorToolsPackage
|
||||
};
|
||||
|
||||
enum PackageState {
|
||||
@@ -169,6 +170,17 @@ public:
|
||||
PackageType type() const override;
|
||||
};
|
||||
|
||||
class EmulatorTools : public AndroidSdkPackage
|
||||
{
|
||||
public:
|
||||
EmulatorTools(QVersionNumber revision, QString sdkStylePathStr, QObject *parent = nullptr);
|
||||
|
||||
// AndroidSdkPackage Overrides
|
||||
public:
|
||||
bool isValid() const override;
|
||||
PackageType type() const override;
|
||||
};
|
||||
|
||||
class SdkTools : public AndroidSdkPackage
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user