Skip to content

Commit

Permalink
Fixes JENKINS-9462 by adding the '-no-window' flag when listing snaps…
Browse files Browse the repository at this point in the history
…hots.
  • Loading branch information
valdisrigdon authored and orrc committed Apr 20, 2011
1 parent ad73f9e commit 04c9670
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -296,7 +296,7 @@ public boolean hasExistingSnapshot(Launcher launcher, AndroidSdk androidSdk)

// List available snapshots for this emulator
ByteArrayOutputStream listOutput = new ByteArrayOutputStream();
String args = String.format("-snapshot-list -avd %s", getAvdName());
String args = String.format("-snapshot-list -no-window -avd %s", getAvdName());
Utils.runAndroidTool(launcher, listOutput, logger, androidSdk, Tool.EMULATOR, args, null);

// Check whether a Jenkins snapshot was listed in the output
Expand Down

0 comments on commit 04c9670

Please sign in to comment.