Remove launch status

It's too fast and leaves weird output on the screen
This commit is contained in:
Danny Tuppeny 2018-04-18 15:39:43 +01:00 committed by Danny Tuppeny
parent cec37ab46a
commit b096c57bbd
2 changed files with 0 additions and 4 deletions

View File

@ -43,10 +43,8 @@ class AndroidEmulator extends Emulator {
@override
Future<bool> launch() async {
final Status status = logger.startProgress('Launching $id...');
final RunResult launchResult =
await runAsync(<String>[getEmulatorPath(), '-avd', id]);
status.stop();
if (launchResult.exitCode != 0) {
printError(
'Error: emulator exited with exit code ${launchResult.exitCode}');

View File

@ -39,10 +39,8 @@ class IOSEmulator extends Emulator {
@override
Future<bool> launch() async {
final Status status = logger.startProgress('Launching $id...');
final RunResult launchResult =
await runAsync(<String>['open', '-a', getSimulatorPath()]);
status.stop();
if (launchResult.exitCode != 0) {
printError(
'Error: iOS simulator failed to launch with exit code ${launchResult.exitCode}');