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:
@@ -253,4 +253,20 @@ AndroidSdkPackage::PackageType PlatformTools::type() const
|
||||
return AndroidSdkPackage::PlatformToolsPackage;
|
||||
}
|
||||
|
||||
EmulatorTools::EmulatorTools(QVersionNumber revision, QString sdkStylePathStr, QObject *parent):
|
||||
AndroidSdkPackage(revision, sdkStylePathStr, parent)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool EmulatorTools::isValid() const
|
||||
{
|
||||
return installedLocation().exists();
|
||||
}
|
||||
|
||||
AndroidSdkPackage::PackageType EmulatorTools::type() const
|
||||
{
|
||||
return AndroidSdkPackage::EmulatorToolsPackage;
|
||||
}
|
||||
|
||||
} // namespace Android
|
||||
|
||||
Reference in New Issue
Block a user