mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 11:58:55 +00:00
workloads/jankbench: Fix screen state for ChromeOS
We cannot currently determine the screen state from cannot android containter so only check on android systems.
This commit is contained in:
parent
d016318a32
commit
04cbf51a15
@ -97,7 +97,9 @@ class Jankbench(ApkWorkload):
|
||||
elif self.pull_results_db and not self.target.is_rooted:
|
||||
raise ConfigError('pull_results_db set for an unrooted device')
|
||||
|
||||
self.target.ensure_screen_is_on()
|
||||
if self.target.os is 'android':
|
||||
self.target.ensure_screen_is_on()
|
||||
|
||||
self.command = self._build_command()
|
||||
self.monitor = JankbenchRunMonitor(self.target)
|
||||
self.monitor.start()
|
||||
|
Loading…
x
Reference in New Issue
Block a user