Index: build/android/pylib/gtest/test_runner.py |
diff --git a/build/android/pylib/gtest/test_runner.py b/build/android/pylib/gtest/test_runner.py |
index 70d393c9abf24c076a106390e599fac3e5a1374e..8db2f83450aec6d88e33ca35ea5b9808e1218d0e 100644 |
--- a/build/android/pylib/gtest/test_runner.py |
+++ b/build/android/pylib/gtest/test_runner.py |
@@ -188,10 +188,6 @@ class TestRunner(base_test_runner.BaseTestRunner): |
#override |
def TearDown(self): |
"""Cleans up the test enviroment for the test suite.""" |
- # Content shell creates a profile on the sdscard which accumulates cache |
- # files over time. |
- self.adb.RunShellCommand('rm -r ' + |
- os.path.join(self.adb.GetExternalStorage(), 'content_shell'), |
- timeout_time=60 * 2) |
+ self.test_package.ClearApplicationState(self.adb) |
self.tool.CleanUpEnvironment() |
super(TestRunner, self).TearDown() |