Merge "Fix adb proxy get device id on windows"
This commit is contained in:
@@ -322,7 +322,7 @@ class FetchFileEndpoint(DeviceRequestEndpoint):
|
||||
|
||||
def check_root(device_id):
|
||||
log.debug("Checking root access on {}".format(device_id))
|
||||
return call_adb('shell su root id -u', device_id) == "0\n"
|
||||
return int(call_adb('shell su root id -u', device_id)) == 0
|
||||
|
||||
|
||||
TRACE_THREADS = {}
|
||||
|
||||
Reference in New Issue
Block a user