From 0afad08ea25fe1945816b09728ecea2631195c2e Mon Sep 17 00:00:00 2001 From: shihchienc Date: Thu, 17 Oct 2024 06:22:13 +0000 Subject: [PATCH] threadnetwork: Avoid execute command if service does not exist We might run VTS when the thread_network service is not available. This patch prevents shell commands from being executed if the service is absent. Bug: 374009923 Bug: 355317617 Bug: 376750874 Test: atest VtsHalThreadNetworkTargetTest Change-Id: I94dd7e2e7585e061f53291c47e46841e5e670b6c (cherry picked from commit ae9ea3c8966eace86a12b1da53295957f411aa4d) --- threadnetwork/aidl/vts/VtsHalThreadNetworkTargetTest.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/threadnetwork/aidl/vts/VtsHalThreadNetworkTargetTest.xml b/threadnetwork/aidl/vts/VtsHalThreadNetworkTargetTest.xml index 0525876761..b5eb843920 100644 --- a/threadnetwork/aidl/vts/VtsHalThreadNetworkTargetTest.xml +++ b/threadnetwork/aidl/vts/VtsHalThreadNetworkTargetTest.xml @@ -13,11 +13,12 @@ See the License for the specific language governing permissions and limitations under the License. --> + -