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

Unified Diff: build/android/adb_install_apk.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 | « no previous file | build/android/adb_kill_content_shell » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/adb_install_apk.py
diff --git a/build/android/adb_install_apk.py b/build/android/adb_install_apk.py
index adad48bdef84a445d58e3f443017b979302706d4..fffcb567de0b5ee9d9cf3a9b0a0e9f5292a81c44 100755
--- a/build/android/adb_install_apk.py
+++ b/build/android/adb_install_apk.py
@@ -13,6 +13,7 @@ import sys
from pylib import android_commands
from pylib import constants
+from pylib.device import device_utils
from pylib.utils import apk_helper
from pylib.utils import test_options_parser
@@ -44,7 +45,7 @@ def ValidateInstallAPKOption(option_parser, options):
def _InstallApk(args):
apk_path, apk_package, keep_data, device = args
- android_commands.AndroidCommands(device=device).ManagedInstall(
+ device_utils.DeviceUtils(device=device).old_interface.ManagedInstall(
apk_path, keep_data, apk_package)
print '----- Installed on %s -----' % device
« no previous file with comments | « no previous file | build/android/adb_kill_content_shell » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698