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

Unified Diff: tools/android/mempressure.py

Issue 338353004: [Android] Switch KillAll, StartActivity, and BroadcastIntent to DeviceUtils. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: appeasing windows Created 6 years, 6 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/android/mempressure.py
diff --git a/tools/android/mempressure.py b/tools/android/mempressure.py
index 77f45a9e1cf426d2cfdda0c3c0c820e3592c1375..bd606f132235f70f1c4c762dff7d1e4f6a117e75 100755
--- a/tools/android/mempressure.py
+++ b/tools/android/mempressure.py
@@ -98,7 +98,8 @@ def main(argv):
if ENABLE_TEST_INTENTS_FLAG not in flags.Get():
flags.AddFlags([ENABLE_TEST_INTENTS_FLAG])
- device.old_interface.StartActivity(package, activity, action=action)
+ device.StartActivity(intent.Intent(package=package, activity=activity,
+ action=action))
if __name__ == '__main__':
sys.exit(main(sys.argv))

Powered by Google App Engine
This is Rietveld 408576698