1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-31 18:21:14 +00:00
Sergei Trofimov 40db6a9933 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.
2017-02-16 13:25:58 +00:00

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