| 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 fe444e91eff736124525fbbf34ea53f6d69cd2c6..a86b5ceae419ea3ad1be528364217220c7cb912b 100644
|
| --- a/build/android/pylib/instrumentation/test_runner.py
|
| +++ b/build/android/pylib/instrumentation/test_runner.py
|
| @@ -93,7 +93,7 @@ class TestRunner(base_test_runner.BaseTestRunner):
|
| logging.warning('Unable to enable java asserts for %s, non rooted device',
|
| str(self.device))
|
| else:
|
| - if self.device.SetJavaAsserts(True):
|
| + if self.device.SetJavaAsserts(self.options.set_asserts):
|
| # TODO(jbudorick) How to best do shell restart after the
|
| # android_commands refactor?
|
| self.device.RunShellCommand('stop')
|
|
|