[Android] Fix device handling in adb_reverse_forwarder.py.

BUG=

Review URL: https://codereview.chromium.org/1898353003

Cr-Original-Commit-Position: refs/heads/master@{#388419}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 884cfea7f0534a79daff21c7493f14647c56c6f1
This commit is contained in:
jbudorick 2016-04-19 20:27:57 -07:00 коммит произвёл Commit bot
Родитель 5947ff5bd6
Коммит 3854e24de2
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -61,8 +61,8 @@ def main(argv):
blacklist = (device_blacklist.Blacklist(options.blacklist_file)
if options.blacklist_file
else None)
device = device_utils.DeviceUtils.HealthyDevices(blacklist=blacklist,
device_arg=options.device)
device = device_utils.DeviceUtils.HealthyDevices(
blacklist=blacklist, device_arg=options.device)[0]
constants.SetBuildType(options.build_type)
try:
forwarder.Forwarder.Map(port_pairs, device)