From 08368f20dcdbbe964f38d212de6243222c4f0548 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Fri, 5 Dec 2014 17:43:53 -0800 Subject: [PATCH] More aggressive ADB restart --- tools/helpers/AndroidHelper.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/helpers/AndroidHelper.hx b/tools/helpers/AndroidHelper.hx index 7ce8de720..b11a5cb7d 100644 --- a/tools/helpers/AndroidHelper.hx +++ b/tools/helpers/AndroidHelper.hx @@ -82,7 +82,7 @@ class AndroidHelper { public static function getDeviceSDKVersion (deviceID:String):Int { // need to wake up ADB, this shouldn't be necessary :( - //ProcessHelper.runCommand (adbPath, adbName, [ "kill-server" ]); + ProcessHelper.runCommand (adbPath, adbName, [ "kill-server" ]); ProcessHelper.runCommand (adbPath, adbName, [ "start-server" ]); var args = [ "wait-for-device", "shell", "getprop", "ro.build.version.sdk" ];