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 1790b8f85c710292fae209a975658e4e5a56daea..ffa307ef35f6741386d1e69ac2a5e1d97e3d87d2 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 # pylint: disable=F0401 |
-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' |