From 8f67b7f94b57439ef2bcab14204dcd7a99a3530f Mon Sep 17 00:00:00 2001
From: jummp01 <jumana.mp@arm.com>
Date: Wed, 11 Jan 2017 21:29:52 +0000
Subject: [PATCH] Create a function for launching skype application.

Skype has a unique launch command which is called in the setup
phase of the workload. The launch command is split into a stand alone
method which can be called as a separate method if required.

This can be used as common method if more applications in future
require their own customized launch command.
---
 wlauto/workloads/skype/__init__.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/wlauto/workloads/skype/__init__.py b/wlauto/workloads/skype/__init__.py
index 7234e4d8..312f6d7e 100755
--- a/wlauto/workloads/skype/__init__.py
+++ b/wlauto/workloads/skype/__init__.py
@@ -96,4 +96,7 @@ class Skype(AndroidUxPerfWorkload):
 
     def setup(self, context):
         super(Skype, self).setup(context)
+        self.launch_app()
+
+    def launch_app(self):
         self.device.execute('am start -W -a android.intent.action.VIEW -d skype:dummy?dummy')