From c6b4aaa9cbcc7cada5959bf8c1b020f05c74ec5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Thu, 26 Dec 2024 14:30:15 +0100 Subject: [PATCH] Small tweaks --- .github/workflows/scripts/local-recording.sh | 2 +- .../workflows/scripts/maestro-local-with-screen-recording.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/local-recording.sh b/.github/workflows/scripts/local-recording.sh index f7754bd3d5..4a800dc5e7 100644 --- a/.github/workflows/scripts/local-recording.sh +++ b/.github/workflows/scripts/local-recording.sh @@ -14,6 +14,6 @@ while true do ((COUNT++)) FILENAME=/data/local/tmp/recordings/testRecording$COUNT.mp4 - echo "Recording video file #$COUNT" + echo "\nRecording video file #$COUNT" screenrecord --bugreport --bit-rate=16m --size 720x1280 $FILENAME done diff --git a/.github/workflows/scripts/maestro-local-with-screen-recording.sh b/.github/workflows/scripts/maestro-local-with-screen-recording.sh index 149349e9a0..0c0869117f 100644 --- a/.github/workflows/scripts/maestro-local-with-screen-recording.sh +++ b/.github/workflows/scripts/maestro-local-with-screen-recording.sh @@ -28,7 +28,7 @@ SCREENRECORD_PID=$(adb shell ps | grep screenrecord | awk '{print $2}') while [ ! -z $SCREENRECORD_PID ]; do echo "Waiting for screen recording ($SCREENRECORD_PID) to finish..." adb shell "kill -2 $SCREENRECORD_PID" - sleep 5 + sleep 1 SCREENRECORD_PID=$(adb shell ps | grep screenrecord | awk '{print $2}') done