| 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 4464d72d3dd65c6b5ed10bbc51ca13bcc946b77c..5e2b67ece86160100bd7b999cd803120e011dd62 100644
|
| --- a/build/android/pylib/instrumentation/test_runner.py
|
| +++ b/build/android/pylib/instrumentation/test_runner.py
|
| @@ -126,8 +126,7 @@ class TestRunner(base_test_runner.BaseTestRunner):
|
| logging.warning('Unable to enable java asserts for %s, non rooted device',
|
| self.device)
|
| else:
|
| - if self.adb.SetJavaAssertsEnabled(
|
| - enable=not self.options.disable_assertions):
|
| + if self.adb.SetJavaAssertsEnabled(True):
|
| self.adb.Reboot(full_reboot=False)
|
|
|
| # We give different default value to launch HTTP server based on shard index
|
|
|