1
0
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:
Sergei Trofimov 2017-02-16 13:25:58 +00:00
parent 543228f7c3
commit 40db6a9933

View 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