Index: build/android/pylib/local/device/local_device_gtest_run.py |
diff --git a/build/android/pylib/local/device/local_device_gtest_run.py b/build/android/pylib/local/device/local_device_gtest_run.py |
index 8172790fb379450bffa7215b873a680135ca6716..cb8dc471521d7c7e58fee0918195f2dfa7d2784c 100644 |
--- a/build/android/pylib/local/device/local_device_gtest_run.py |
+++ b/build/android/pylib/local/device/local_device_gtest_run.py |
@@ -339,7 +339,7 @@ class LocalDeviceGtestRun(local_device_test_run.LocalDeviceTestRun): |
if self._test_instance.app_files: |
self._delegate.PullAppFiles(device, self._test_instance.app_files, |
self._test_instance.app_file_dir) |
- if not self._test_instance.skip_clear_data: |
+ if not self._env.skip_clear_data: |
self._delegate.Clear(device) |
# Parse the output. |