forked from qt-creator/qt-creator
Android: don't throw error on adb's "All files should be loaded." log
When installing a signed apk, adb might throw the following log "All files should be loaded. Notifying the device." which is being treated as an error and will stop the deployment from going forward until user input is given. The current condition is not catching it probably because it has a \n at the end, but let's treat it as a warning. Change-Id: If071730b39871b4e60f8755d14ba352b86e7c244 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -544,10 +544,12 @@ void AndroidDeployQtStep::stdError(const QString &line)
|
||||
return;
|
||||
|
||||
if (newOutput.startsWith("warning", Qt::CaseInsensitive)
|
||||
|| newOutput.startsWith("note", Qt::CaseInsensitive))
|
||||
|| newOutput.startsWith("note", Qt::CaseInsensitive)
|
||||
|| newOutput.startsWith(QLatin1String("All files should be loaded."))) {
|
||||
TaskHub::addTask(DeploymentTask(Task::Warning, newOutput));
|
||||
else if (newOutput != QLatin1String("All files should be loaded. Notifying the device."))
|
||||
} else {
|
||||
TaskHub::addTask(DeploymentTask(Task::Error, newOutput));
|
||||
}
|
||||
}
|
||||
|
||||
AndroidDeployQtStep::DeployErrorCode AndroidDeployQtStep::parseDeployErrors(
|
||||
|
Reference in New Issue
Block a user