forked from qt-creator/qt-creator
Android: Make Bundle Qt Deployment the default deployment method.
Debug Deployment broke with Android 5. Also show Android 5 devices as incompatible in the device dialog if we are using debug deployment. Task-number: QTCREATORBUG-13419 Change-Id: Ic321cfa46eb724f87f338af9c4b50face06c7c06 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: BogDan Vatra <bogdan@kde.org> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -989,7 +989,9 @@ void AndroidConfigurations::setConfig(const AndroidConfig &devConfigs)
|
||||
emit m_instance->updated();
|
||||
}
|
||||
|
||||
AndroidDeviceInfo AndroidConfigurations::showDeviceDialog(ProjectExplorer::Project *project, int apiLevel, const QString &abi)
|
||||
AndroidDeviceInfo AndroidConfigurations::showDeviceDialog(ProjectExplorer::Project *project,
|
||||
int apiLevel, const QString &abi,
|
||||
Options options)
|
||||
{
|
||||
QString serialNumber = defaultDevice(project, abi);
|
||||
if (!serialNumber.isEmpty()) {
|
||||
@@ -1005,7 +1007,7 @@ AndroidDeviceInfo AndroidConfigurations::showDeviceDialog(ProjectExplorer::Proje
|
||||
return info;
|
||||
}
|
||||
|
||||
AndroidDeviceDialog dialog(apiLevel, abi, Core::ICore::mainWindow());
|
||||
AndroidDeviceDialog dialog(apiLevel, abi, options, Core::ICore::mainWindow());
|
||||
if (dialog.exec() == QDialog::Accepted) {
|
||||
AndroidDeviceInfo info = dialog.device();
|
||||
if (dialog.saveDeviceSelection()) {
|
||||
|
||||
Reference in New Issue
Block a user