Support lists of files in adb.AndroidDevice.push.
Bug: http://b/166155032 Test: system/core/adb/test_device.py Change-Id: I7a6514070b5bbb379f2652053de64a7603e988ae
This commit is contained in:
@@ -435,7 +435,13 @@ class AndroidDevice(object):
|
||||
cmd = ['push']
|
||||
if sync:
|
||||
cmd.append('--sync')
|
||||
|
||||
if isinstance(local, str):
|
||||
cmd.extend([local, remote])
|
||||
else:
|
||||
cmd.extend(local)
|
||||
cmd.append(remote)
|
||||
|
||||
return self._simple_call(cmd)
|
||||
|
||||
def pull(self, remote, local):
|
||||
|
||||
Reference in New Issue
Block a user