From 40db6a99335c3db431a4a27da345bf616a2f3e82 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Thu, 16 Feb 2017 13:25:58 +0000 Subject: [PATCH] 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. --- wlauto/devices/android/meizumx6/__init__.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 wlauto/devices/android/meizumx6/__init__.py diff --git a/wlauto/devices/android/meizumx6/__init__.py b/wlauto/devices/android/meizumx6/__init__.py new file mode 100644 index 00000000..090c2fb7 --- /dev/null +++ b/wlauto/devices/android/meizumx6/__init__.py @@ -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