fix adb devices by using the self.adb_cmd

This commit is contained in:
Mathieu Virbel 2013-07-06 17:24:02 +02:00
parent 50b3dd8a71
commit 4141254120

View file

@ -471,7 +471,7 @@ class TargetAndroid(Target):
serial = environ.get('ANDROID_SERIAL') serial = environ.get('ANDROID_SERIAL')
if serial: if serial:
return serial.split(',') return serial.split(',')
l = self.buildozer.cmd('adb devices', l = self.buildozer.cmd('{} devices'.format(self.adb_cmd),
get_stdout=True)[0].splitlines()[1:-1] get_stdout=True)[0].splitlines()[1:-1]
serials = [] serials = []
for serial in l: for serial in l: