Android: Don't check QtcProcess exit code

This is already baked into QtcProcess::Result.

Change-Id: I02b017c7d26b5c42ea4e00cea5c3b393274edfdc
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2021-05-28 13:29:05 +02:00
parent c756d8d2d5
commit e2cf0b52a7
4 changed files with 6 additions and 6 deletions

View File

@@ -204,7 +204,7 @@ bool AndroidAvdManager::removeAvd(const QString &name) const
proc.setTimeoutS(5);
proc.setCommand(command);
proc.runBlocking();
return proc.result() == QtcProcess::FinishedWithSuccess && proc.exitCode() == 0;
return proc.result() == QtcProcess::FinishedWithSuccess;
}
static void avdConfigEditManufacturerTag(const QString &avdPathStr, bool recoverMode = false)