diff --git a/lib/util/devutil.js b/lib/util/devutil.js index 802ed028..fda873f0 100644 --- a/lib/util/devutil.js +++ b/lib/util/devutil.js @@ -113,32 +113,6 @@ devutil.killProcsByComm = function(adb, serial, comm, bin, mode) { }) } -devutil.startProp = function(adb, serial, cmd) { - return adb.openTcpAsync(options.serial, port) - .then(function(conn) { - conn.end() - }) - .catch(function(err) { - if (err.message === 'closed') { - var cmd = [ - vendor.bin.dest - , '--lib', vendor.lib.dest - , '--listen-http', port - ] - return adb.shellAsync(options.serial, cmd) - .then(function(out) { - - out.on('end', function() { - log.fatal('') - }) - }) - } - else { - throw err - } - }) -} - devutil.platform = function(platform) { switch (platform) { case 'android':