mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 03:12:34 +01:00
common/android: pep8 fixes
- added missing space between global definitions and a class - added missing space for inline comment
This commit is contained in:
@@ -35,6 +35,7 @@ import wlauto.common.android.resources
|
|||||||
|
|
||||||
DELAY = 5
|
DELAY = 5
|
||||||
|
|
||||||
|
|
||||||
# Due to the way `super` works you have to call it at every level but WA executes some
|
# Due to the way `super` works you have to call it at every level but WA executes some
|
||||||
# methods conditionally and so has to do them directly via the class, this breaks super
|
# methods conditionally and so has to do them directly via the class, this breaks super
|
||||||
# and causes it to run things mutiple times ect. As a work around for this untill workloads
|
# and causes it to run things mutiple times ect. As a work around for this untill workloads
|
||||||
@@ -221,7 +222,7 @@ class ApkWorkload(Workload):
|
|||||||
self.check_apk_version()
|
self.check_apk_version()
|
||||||
|
|
||||||
if self.launch_main:
|
if self.launch_main:
|
||||||
self.launch_package() # launch default activity without intent data
|
self.launch_package() # launch default activity without intent data
|
||||||
self.device.execute('am kill-all') # kill all *background* activities
|
self.device.execute('am kill-all') # kill all *background* activities
|
||||||
self.device.clear_logcat()
|
self.device.clear_logcat()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user