Index: tools/android/adb_profile_chrome/controllers_unittest.py |
diff --git a/tools/android/adb_profile_chrome/controllers_unittest.py b/tools/android/adb_profile_chrome/controllers_unittest.py |
index 6702c389492ba8febaa973eb62ab26aca575ec93..5df7bea3aafd6a48194fca39e0d431a3c84fbb10 100644 |
--- a/tools/android/adb_profile_chrome/controllers_unittest.py |
+++ b/tools/android/adb_profile_chrome/controllers_unittest.py |
@@ -17,7 +17,7 @@ class BaseControllerTest(unittest.TestCase): |
self.package_info = profiler.GetSupportedBrowsers()[self.browser] |
self.device = device_utils.DeviceUtils(devices[0]) |
- adb = android_commands.AndroidCommands(devices[0]) |
- adb.StartActivity(self.package_info.package, |
- self.package_info.activity, |
- wait_for_completion=True) |
+ self.device.StartActivity( |
+ intent.Intent(activity=self.package_info.activity, |
+ package=self.package_info.package), |
+ blocking=True) |