From cf6d6c869f502c7914e547fd01efaba4fa7796ce Mon Sep 17 00:00:00 2001 From: Max Inden Date: Fri, 2 Aug 2024 12:10:37 +0200 Subject: [PATCH] getenforce --- .github/workflows/rust.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 22af32877..400e37b79 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -63,7 +63,8 @@ jobs: adb wait-for-device while [[ -z "$(adb shell getprop sys.boot_completed | tr -d '\r')" ]]; do sleep 1; done - adb shell su 0 setenforce 1 && adb stop && adb start + adb shell su 0 getenforce + adb shell su 0 setenforce 1 adb wait-for-device while [[ -z "$(adb shell getprop sys.boot_completed | tr -d '\r')" ]]; do sleep 1; done