| Index: build/android/pylib/instrumentation/test_runner.py
|
| diff --git a/build/android/pylib/instrumentation/test_runner.py b/build/android/pylib/instrumentation/test_runner.py
|
| index 4ca0742c36b03a88bea144b7a7dfc69001e612ae..0f2e53fea733e032314bf5cee7ccd6d711e3df3b 100644
|
| --- a/build/android/pylib/instrumentation/test_runner.py
|
| +++ b/build/android/pylib/instrumentation/test_runner.py
|
| @@ -343,6 +343,11 @@ class TestRunner(base_test_runner.BaseTestRunner):
|
| try:
|
| self.TestSetup(test)
|
|
|
| + try:
|
| + self.device.GoHome()
|
| + except device_errors.CommandTimeoutError:
|
| + logging.exception('Failed to focus the launcher.')
|
| +
|
| time_ms = lambda: int(time.time() * 1000)
|
| start_ms = time_ms()
|
| raw_output = self._RunTest(test, timeout)
|
|
|