forked from qt-creator/qt-creator
More Android fixes, add default android device.
Switch to new android assests scheme Change-Id: I34bf52cbb085b76df66e40391160d189301aafd2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
7c77331ea4
commit
a16d355dce
@@ -35,6 +35,7 @@
|
||||
#include "androidconstants.h"
|
||||
#include "androidconfigurations.h"
|
||||
#include "androiddeploystepfactory.h"
|
||||
#include "androiddevice.h"
|
||||
#include "androiddevicefactory.h"
|
||||
#include "androidconfigurations.h"
|
||||
#include "androidmanager.h"
|
||||
@@ -48,6 +49,8 @@
|
||||
|
||||
#include <QtPlugin>
|
||||
|
||||
#include <projectexplorer/devicesupport/devicemanager.h>
|
||||
|
||||
namespace Android {
|
||||
|
||||
AndroidPlugin::AndroidPlugin()
|
||||
@@ -76,6 +79,9 @@ bool AndroidPlugin::initialize(const QStringList &arguments,
|
||||
addAutoReleasedObject(new Internal::AndroidToolChainFactory);
|
||||
addAutoReleasedObject(new Internal::AndroidDeployConfigurationFactory);
|
||||
addAutoReleasedObject(new Internal::AndroidDeviceFactory);
|
||||
ProjectExplorer::DeviceManager *dm = ProjectExplorer::DeviceManager::instance();
|
||||
if (dm->find(Core::Id(Constants::ANDROID_DEVICE_ID)).isNull())
|
||||
dm->addDevice(ProjectExplorer::IDevice::Ptr(new Internal::AndroidDevice));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user