| Index: build/android/pylib/android_commands.py
|
| diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
|
| index b8b407333f9a9269d019393abbe9f33758494951..a820d2dd9893ede980fc0da3b15c81e7483ce6dc 100644
|
| --- a/build/android/pylib/android_commands.py
|
| +++ b/build/android/pylib/android_commands.py
|
| @@ -840,7 +840,7 @@ class AndroidCommands(object):
|
| while True:
|
| # Note this will block for upto the timeout _per log line_, so we need
|
| # to calculate the overall timeout remaining since t0.
|
| - time_remaining = t0 + self._logcat.timeout - time.time()
|
| + time_remaining = t0 + timeout - time.time()
|
| if time_remaining < 0: raise pexpect.TIMEOUT(self._logcat)
|
| self._logcat.expect(PEXPECT_LINE_RE, timeout=time_remaining)
|
| line = self._logcat.match.group(1)
|
|
|