Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
[Temp][Android] Fix 8c2a8ab.
Browse files Browse the repository at this point in the history
An indentation error was introduced when that commit was reworked for
M37. Fix it by trying to make its logic work with Chromium r277050
  • Loading branch information
Raphael Kubo da Costa authored and darktears committed Aug 15, 2014
1 parent 6fc8d54 commit 0ae7847
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/android/adb_install_apk.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ def main(argv):
while retry_times > 0:
devices = android_commands.GetAttachedDevices()
if options.device:
if options.device not in devices:
raise Exception('Error: %s not in attached devices %s' % (options.device,
','.join(devices)))
devices = [options.device]
if options.device not in devices:
raise Exception('Error: %s not in attached devices %s' % \
(options.device, ','.join(devices)))
devices = [options.device]

if not devices:
print 'No connected devices found, '\
Expand Down

0 comments on commit 0ae7847

Please sign in to comment.