Commit 991663d1 authored by Vikas Pachdha's avatar Vikas Pachdha

Android: Fix empty output when sdkmanager command fails

Change-Id: I013f35880acd5683f23de49cb388c5ef9d8fc911
Reviewed-by: default avatarBogDan Vatra <>
parent bb58ab34
......@@ -82,12 +82,9 @@ static bool sdkManagerCommand(const AndroidConfig config, const QStringList &arg
SynchronousProcessResponse response =, args);
if (response.result == SynchronousProcessResponse::Finished) {
if (output)
*output = response.allOutput();
return true;
return false;
if (output)
*output = response.allOutput();
return response.result == SynchronousProcessResponse::Finished;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment