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 <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41314>
This commit is contained in:
Valentine Burley 2026-05-06 11:52:19 +02:00
parent 2b9e491b67
commit f34c18cb4f

View file

@ -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
}