forked from qt-creator/qt-creator
Android: remove AndroidDeviceType and State from AndroidDeviceInfo
No need to have these enums which are now only a duplication of IDevice::MachineType and IDevice::DeviceState. Change-Id: Icc3f112f2670c7354bb282b36fad0f0631b9e047 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -558,7 +558,7 @@ void AndroidManager::installQASIPackage(Target *target, const FilePath &packageP
|
||||
return;
|
||||
|
||||
QString deviceSerialNumber = info.serialNumber;
|
||||
if (info.type == AndroidDeviceInfo::Emulator) {
|
||||
if (info.type == IDevice::Emulator) {
|
||||
deviceSerialNumber = AndroidAvdManager().startAvd(info.avdname);
|
||||
if (deviceSerialNumber.isEmpty())
|
||||
Core::MessageManager::writeDisrupting(tr("Starting Android virtual device failed."));
|
||||
|
||||
Reference in New Issue
Block a user