| Index: build/android/pylib/gtest/test_package_apk.py
|
| diff --git a/build/android/pylib/gtest/test_package_apk.py b/build/android/pylib/gtest/test_package_apk.py
|
| index 9670934d879e74c4a00577ac9bef80c03f24cb8c..ecd55eb08b63ea582585ef9318b5f92ef4c8e801 100644
|
| --- a/build/android/pylib/gtest/test_package_apk.py
|
| +++ b/build/android/pylib/gtest/test_package_apk.py
|
| @@ -82,15 +82,6 @@ class TestPackageApk(TestPackage):
|
| action='android.intent.action.MAIN',
|
| force_stop=True)
|
|
|
| - def _NeedsInstall(self):
|
| - installed_apk_path = self.adb.GetApplicationPath(
|
| - self._test_apk_package_name)
|
| - if installed_apk_path:
|
| - return not self.adb.CheckMd5Sum(
|
| - self.test_suite_full, installed_apk_path, ignore_paths=True)
|
| - else:
|
| - return True
|
| -
|
| def _GetTestSuiteBaseName(self):
|
| """Returns the base name of the test suite."""
|
| # APK test suite names end with '-debug.apk'
|
| @@ -137,9 +128,6 @@ class TestPackageApk(TestPackage):
|
| #override
|
| def Install(self):
|
| self.tool.CopyFiles()
|
| - if self._NeedsInstall():
|
| - # Always uninstall the previous one (by activity name); we don't
|
| - # know what was embedded in it.
|
| - self.adb.ManagedInstall(self.test_suite_full, False,
|
| - package_name=self._test_apk_package_name)
|
| + self.adb.ManagedInstall(self.test_suite_full, False,
|
| + package_name=self._test_apk_package_name)
|
|
|
|
|