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

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: Address Frank's comments. Created 6 years, 9 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
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())
+

Powered by Google App Engine
This is Rietveld 408576698