| 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 aab0c12448105e250682debc66fd9dee17d26860..89e3897941c831b6d58ad7130bd238bd0439cca2 100644
|
| --- a/build/android/pylib/instrumentation/test_runner.py
|
| +++ b/build/android/pylib/instrumentation/test_runner.py
|
| @@ -228,7 +228,7 @@ class TestRunner(base_test_runner.BaseTestRunner):
|
| self.coverage_device_file, self.coverage_host_file)
|
| self.device.RunShellCommand(
|
| 'rm -f %s' % self.coverage_device_file)
|
| - elif self.package_info:
|
| + elif self.package_info and not self.options.skip_clear_data:
|
| self.device.ClearApplicationState(self.package_info.package)
|
|
|
| def TearDownPerfMonitoring(self, test):
|
|
|