mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-24 03:29:02 +00:00
meizumx64: always unrooted
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.
This commit is contained in:
parent
543228f7c3
commit
40db6a9933
13
wlauto/devices/android/meizumx6/__init__.py
Normal file
13
wlauto/devices/android/meizumx6/__init__.py
Normal file
@ -0,0 +1,13 @@
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user