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

Unified Diff: tools/telemetry/telemetry/core/backends/adb_commands.py

Issue 292313015: [Android] Switch to DeviceUtils versions of Reboot and Install. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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: tools/telemetry/telemetry/core/backends/adb_commands.py
diff --git a/tools/telemetry/telemetry/core/backends/adb_commands.py b/tools/telemetry/telemetry/core/backends/adb_commands.py
index bc33dd8efffd531f464fc465c680a42a3e2998c8..fea05706ceebac8228c0305404ef877503624dde 100644
--- a/tools/telemetry/telemetry/core/backends/adb_commands.py
+++ b/tools/telemetry/telemetry/core/backends/adb_commands.py
@@ -26,7 +26,6 @@ try:
except Exception:
ports = None
from pylib.device import device_utils
-from pylib.utils import apk_helper # pylint: disable=F0401
def IsAndroidSupported():
@@ -85,9 +84,7 @@ class AdbCommands(object):
constants.GetOutDirectory('Debug'), 'md5sum_bin_host'))):
constants.SetBuildType('Debug')
- apk_package_name = apk_helper.GetPackageName(apk_path)
- return self._device.old_interface.ManagedInstall(
- apk_path, package_name=apk_package_name)
+ self._device.Install(apk_path)
def IsUserBuild(self):
return self._device.old_interface.GetBuildType() == 'user'
« build/android/pylib/device/device_utils_test.py ('K') | « build/android/update_verification.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698