Skip to content

Commit

Permalink
Merge pull request appium#1670 from rockbot/master
Browse files Browse the repository at this point in the history
first attempt at fixing appium avd startup bug
  • Loading branch information
rockbot committed Dec 23, 2013
2 parents 957e39c + 79fb97b commit 0ed0ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devices/android/android-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ androidCommon.checkAppPresent = function(cb) {
androidCommon.prepareEmulator = function(cb) {
if (this.avdName !== null) {
this.adb.getRunningAVDName(function(err, runningAVDName) {
if (err) return cb(err);
if (err && err.message.indexOf('No devices') === -1) return cb(err);
if (this.avdName.replace('@','') === runningAVDName) {
logger.info("Did not launch AVD because it was already running.");
return cb();
Expand Down

0 comments on commit 0ed0ae7

Please sign in to comment.