From 441ecfa98cd79cc3e1e784805d61ece6d65d732c Mon Sep 17 00:00:00 2001 From: Sascha Bischoff Date: Thu, 2 Mar 2017 10:40:11 +0000 Subject: [PATCH] Remove stale browser-specific commands from audio workload In this changeset we remove some left over browser specific commands which are no longer required as part of the audio workload. --- wlauto/workloads/audio/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wlauto/workloads/audio/__init__.py b/wlauto/workloads/audio/__init__.py index 3041995d..6487733f 100644 --- a/wlauto/workloads/audio/__init__.py +++ b/wlauto/workloads/audio/__init__.py @@ -62,9 +62,6 @@ class Audio(Workload): # Clear the logs self.device.clear_logcat() - # Clear browser cache - self.device.execute('pm clear com.android.browser') - if self.clear_file_cache: self.device.execute('sync') self.device.set_sysfile_value('/proc/sys/vm/drop_caches', 3) @@ -72,10 +69,6 @@ class Audio(Workload): # Start the background music self.device.execute('am start -W -S -n com.android.music/.MediaPlaybackActivity -d {}'.format(self.on_device_file)) - # Launch the browser to blank the screen - self.device.execute('am start -W -n com.android.browser/.BrowserActivity about:blank') - time.sleep(5) # Wait for browser to be properly launched - def run(self, context): time.sleep(self.duration)