From 85d5d4f7df8aa1d969bea80444d9b12e3aec8654 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Thu, 29 Mar 2018 16:16:54 +0100 Subject: [PATCH] target/chromeosassistant: Fix missing disable_selinux parameter Adds missing `disable_selinux` parameter to the chromeos assistant and pass it to the android assistant if applicable. --- wa/framework/target/assistant.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wa/framework/target/assistant.py b/wa/framework/target/assistant.py index e8f439cc..ea45484a 100644 --- a/wa/framework/target/assistant.py +++ b/wa/framework/target/assistant.py @@ -163,10 +163,11 @@ class ChromeOsAssistant(LinuxAssistant): parameters = LinuxAssistant.parameters + AndroidAssistant.parameters - def __init__(self, target, logcat_poll_period=None): + def __init__(self, target, logcat_poll_period=None, disable_selinux=True): super(ChromeOsAssistant, self).__init__(target) if target.supports_android: - self.android_assistant = AndroidAssistant(target.android_container, logcat_poll_period) + self.android_assistant = AndroidAssistant(target.android_container, + logcat_poll_period, disable_selinux) else: self.android_assistant = None