fix node logic error preventing unlock errors from propagating in chrome

This commit is contained in:
Jonathan Lipps
2014-01-21 14:18:02 -08:00
parent 6354b7f700
commit da8d64158c

View File

@@ -44,7 +44,7 @@ ChromeAndroid.prototype.start = function(cb, onDie) {
ChromeAndroid.prototype.unlock = function(cb) {
this.pushUnlock(function(err) {
if (err) return err;
if (err) return cb(err);
this.unlockScreen(cb);
}.bind(this));
};