mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-01 02:31:31 +00:00
40db6a9933
This implements a workaround for the Meizu MX6. "su" in the rooted version is broken from WA's perspective so all devices should be considered unrooted.
14 lines
363 B
Python
14 lines
363 B
Python
from wlauto import AndroidDevice
|
|
|
|
|
|
class MeizuMX6(AndroidDevice):
|
|
|
|
name = 'meizumx6'
|
|
|
|
def is_rooted(self):
|
|
# "su" executable on a rooted Meizu MX6 is targeted
|
|
# specifically towards Android application and cannot
|
|
# be used to execute a command line shell. This makes it
|
|
# "broken" from WA prespective.
|
|
return False
|