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

Unified Diff: tools/telemetry/telemetry/core/android_app.py

Issue 776883004: Basic android app implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments for modified files. Created 6 years 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/android_app.py
diff --git a/tools/telemetry/telemetry/core/android_app.py b/tools/telemetry/telemetry/core/android_app.py
index b4d6a27656e3550dccd40133c032d981e3874c0a..2647b800fd932e12eea0c5178b0df24cea5dabe4 100644
--- a/tools/telemetry/telemetry/core/android_app.py
+++ b/tools/telemetry/telemetry/core/android_app.py
@@ -13,8 +13,10 @@ class AndroidApp(app.App):
with possible_android_app.Create(options) as android_app:
... do all your operations on android_app here
"""
- def __init__(self, backend, platform_backend):
- super(AndroidApp, self).__init__(app_backend=backend,
+ def __init__(self, app_backend, platform_backend):
+ super(AndroidApp, self).__init__(app_backend=app_backend,
platform_backend=platform_backend)
+ self.app_backend.Start()
+
def Close(self):
- raise NotImplementedError()
+ self.app_backend.Close()
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/app.py » ('j') | tools/telemetry/telemetry/user_story/android/shared_app_state.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698