forked from qt-creator/qt-creator
Android: Fix adbShellAmNeedsQuotes
Regressions was introduced by ddefe062c7
Change-Id: I0bc3f75b788472db78998c32d0007d4250a62f5a
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -487,7 +487,8 @@ bool AndroidRunner::adbShellAmNeedsQuotes()
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
const QString output = response.allOutput();
|
const QString output = response.allOutput();
|
||||||
return output.contains(QLatin1String("Error: No intent supplied"));
|
const bool oldSdk = output.contains("Error: No intent supplied");
|
||||||
|
return !oldSdk;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AndroidRunner::runAdb(const QStringList &args, QString *errorMessage, int timeoutS)
|
bool AndroidRunner::runAdb(const QStringList &args, QString *errorMessage, int timeoutS)
|
||||||
|
|||||||
Reference in New Issue
Block a user