From f34c18cb4ffe9566e028e2281c86bd0c8f406958 Mon Sep 17 00:00:00 2001 From: Valentine Burley Date: Wed, 6 May 2026 11:52:19 +0200 Subject: [PATCH] ci/android: Remove SurfaceFlinger wait in get_surfaceflinger_pid The dumpsys check doesn't seem necessary and avoids infinite loops. Signed-off-by: Valentine Burley Part-of: --- .gitlab-ci/android-runner.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitlab-ci/android-runner.sh b/.gitlab-ci/android-runner.sh index 1a15e1bbc0f..e5c421ca5af 100755 --- a/.gitlab-ci/android-runner.sh +++ b/.gitlab-ci/android-runner.sh @@ -122,7 +122,6 @@ if ! printf "%s" "$VK_RUNTIME_VERSION" | grep -Fq -- "${MESA_BUILD_VERSION}"; th fi get_surfaceflinger_pid() { - while [ "$($ADB shell dumpsys -l | grep 'SurfaceFlinger$')" = "" ] ; do sleep 1; done $ADB shell ps -A | grep -i surfaceflinger | tr -s ' ' | cut -d ' ' -f 2 }