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

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

Issue 23300003: Allow android pass flags to am start activity (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | « build/android/pylib/android_commands.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/chrome/adb_commands.py
diff --git a/tools/telemetry/telemetry/core/chrome/adb_commands.py b/tools/telemetry/telemetry/core/chrome/adb_commands.py
index fa71813637a4ef3ceb77a84db4c9bc944bd6735e..d1ee0bb46899081cebe36f142ba68f33dd339459 100644
--- a/tools/telemetry/telemetry/core/chrome/adb_commands.py
+++ b/tools/telemetry/telemetry/core/chrome/adb_commands.py
@@ -114,7 +114,8 @@ class AdbCommands(object):
def StartActivity(self, package, activity, wait_for_completion=False,
action='android.intent.action.VIEW',
category=None, data=None,
- extras=None, trace_file_name=None):
+ extras=None, trace_file_name=None,
+ flags=None):
"""Starts |package|'s activity on the device.
Args:
@@ -131,7 +132,8 @@ class AdbCommands(object):
return self._adb.StartActivity(package, activity, wait_for_completion,
action,
category, data,
- extras, trace_file_name)
+ extras, trace_file_name,
+ flags)
def Push(self, local, remote):
return self._adb.Adb().Push(local, remote)
« no previous file with comments | « build/android/pylib/android_commands.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698