Merge "Support lists of files in adb.AndroidDevice.push."

This commit is contained in:
Treehugger Robot
2020-09-11 04:55:49 +00:00
committed by Gerrit Code Review

View File

@@ -435,7 +435,13 @@ class AndroidDevice(object):
cmd = ['push']
if sync:
cmd.append('--sync')
cmd.extend([local, remote])
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):