| Index: build/android/screenshot.py
|
| diff --git a/build/android/screenshot.py b/build/android/screenshot.py
|
| index b52b70699502adabfeb3c8449f2d5382d22bf70a..097739fb62deb0667141e2fe16e9533f678757b0 100755
|
| --- a/build/android/screenshot.py
|
| +++ b/build/android/screenshot.py
|
| @@ -12,7 +12,6 @@
|
| import sys
|
|
|
| from pylib import screenshot
|
| -from pylib.device import device_blacklist
|
| from pylib.device import device_errors
|
| from pylib.device import device_utils
|
|
|
| @@ -48,7 +47,6 @@
|
| usage='screenshot.py [options] [filename]')
|
| parser.add_option('-d', '--device', metavar='ANDROID_DEVICE', help='Serial '
|
| 'number of Android device to use.', default=None)
|
| - parser.add_option('--blacklist-file', help='Device blacklist JSON file.')
|
| parser.add_option('-f', '--file', help='Save result to file instead of '
|
| 'generating a timestamped file name.', metavar='FILE')
|
| parser.add_option('-v', '--verbose', help='Verbose logging.',
|
| @@ -75,12 +73,7 @@
|
| if options.verbose:
|
| logging.getLogger().setLevel(logging.DEBUG)
|
|
|
| - if options.blacklist_file:
|
| - blacklist = device_blacklist.Blacklist(options.blacklist_file)
|
| - else:
|
| - blacklist = None
|
| -
|
| - devices = device_utils.DeviceUtils.HealthyDevices(blacklist)
|
| + devices = device_utils.DeviceUtils.HealthyDevices()
|
| if options.device:
|
| device = next((d for d in devices if d == options.device), None)
|
| if not device:
|
|
|