Make it possible to connect to ADB running on other computers.

This commit is contained in:
Simo Kinnunen
2014-06-06 18:01:36 +09:00
parent 2e18778d1c
commit 7fb721f379
3 changed files with 40 additions and 2 deletions

View File

@@ -8,7 +8,10 @@ var promiseutil = require('../../../util/promiseutil')
module.exports = syrup.serial()
.define(function(options) {
var log = logger.createLogger('device:support:adb')
var adb = adbkit.createClient()
var adb = adbkit.createClient({
host: options.adbHost
, port: options.adbPort
})
adb.Keycode = adbkit.Keycode
function ensureBootComplete() {