allows multiple devices in ANDROID_SERIAL env variables, separated with comma

This commit is contained in:
Mathieu Virbel 2013-06-26 11:57:01 +02:00
parent a09bf6ebcf
commit ebea1955a6

View file

@ -459,7 +459,7 @@ class TargetAndroid(Target):
return self._serials
serial = environ.get('ANDROID_SERIAL')
if serial:
return [serial]
return serial.split(',')
l = self.buildozer.cmd('adb devices',
get_stdout=True)[0].splitlines()[1:-1]
serials = []