1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

android device: always deploy busybox on rooted devices.

This commit is contained in:
Sergei Trofimov 2015-10-19 13:40:50 +01:00
parent 691c380779
commit 20a5660ea1

View File

@ -194,10 +194,7 @@ class AndroidDevice(BaseLinuxDevice): # pylint: disable=W0223
def initialize(self, context):
self.execute('mkdir -p {}'.format(self.working_directory))
if self.is_rooted:
if not self.executable_is_installed('busybox'):
self.busybox = self.deploy_busybox(context)
else:
self.busybox = self.path.join(self.binaries_directory, 'busybox')
self.busybox = self.deploy_busybox(context)
self.disable_screen_lock()
self.disable_selinux()
if self.enable_screen_check: