Fix to qmlpreview failing to upload files

Return to correct function call order when preparing
and uploading data to the device.

Pick-to: 6.0
Change-Id: Id4c56eda385964bc97b7d866bc6d76cf854feca2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Piotr Mikolajczyk
2021-11-05 12:43:12 +01:00
parent b729a6cee2
commit 78552e5848

View File

@@ -209,8 +209,8 @@ void AndroidQmlPreviewWorker::start()
}
const bool previewStarted = ensureAvdIsRunning()
&& checkAndInstallPreviewApp()
&& uploadPreviewArtefacts()
&& preparePreviewArtefacts()
&& uploadPreviewArtefacts()
&& startPreviewApp();
previewStarted ? reportStarted() : reportStopped();