| Index: build/android/pylib/uiautomator/test_runner.py
|
| diff --git a/build/android/pylib/uiautomator/test_runner.py b/build/android/pylib/uiautomator/test_runner.py
|
| index 100ba1d5fb0652444ffa6535c061237a67fc5e9f..91676bc404c6fcc78565922defc5144a7ea326f7 100644
|
| --- a/build/android/pylib/uiautomator/test_runner.py
|
| +++ b/build/android/pylib/uiautomator/test_runner.py
|
| @@ -5,6 +5,7 @@
|
| """Class for running uiautomator tests on a single device."""
|
|
|
| from pylib import constants
|
| +from pylib import flag_changer
|
| from pylib.instrumentation import test_options as instr_test_options
|
| from pylib.instrumentation import test_runner as instr_test_runner
|
|
|
| @@ -40,6 +41,10 @@ class TestRunner(instr_test_runner.TestRunner):
|
| super(TestRunner, self).__init__(instrumentation_options, device,
|
| shard_index, test_pkg)
|
|
|
| + cmdline_file = constants.PACKAGE_INFO[test_options.package].cmdline_file
|
| + self.flags = None
|
| + if cmdline_file:
|
| + self.flags = flag_changer.FlagChanger(self.adb, cmdline_file)
|
| self._package = constants.PACKAGE_INFO[test_options.package].package
|
| self._activity = constants.PACKAGE_INFO[test_options.package].activity
|
|
|
|
|