Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1571)

Unified Diff: build/android/pylib/instrumentation/test_package.py

Issue 221823011: [Android] Change object types from AndroidCommands to DeviceUtils in build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/host_driven/test_runner.py ('k') | build/android/pylib/instrumentation/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/instrumentation/test_package.py
diff --git a/build/android/pylib/instrumentation/test_package.py b/build/android/pylib/instrumentation/test_package.py
index 79b2fc9737f6346fc9f9bf94a924946d8a93d044..ca03a4dc90b7ecd32f7acc9bb68390a8c7910026 100644
--- a/build/android/pylib/instrumentation/test_package.py
+++ b/build/android/pylib/instrumentation/test_package.py
@@ -33,5 +33,7 @@ class TestPackage(test_jar.TestJar):
return self._package_name
# Override.
- def Install(self, adb):
- adb.ManagedInstall(self.GetApkPath(), package_name=self.GetPackageName())
+ def Install(self, device):
+ device.old_interface.ManagedInstall(
+ self.GetApkPath(), package_name=self.GetPackageName())
+
« no previous file with comments | « build/android/pylib/host_driven/test_runner.py ('k') | build/android/pylib/instrumentation/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698