From be60141300aa670e32380a9a7cccde2988ef6e6f Mon Sep 17 00:00:00 2001
From: Pierre Nicolas <pierre.nicolas@savoirfairelinux.com>
Date: Fri, 16 Aug 2024 10:25:32 -0400
Subject: [PATCH] test: add `no-metrics` flag for emulator

GitLab: #1740
Change-Id: I3e559f02fc81f20a25c4bacdad3c322bc35f9e98
---
 ci/start_emu_headless.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci/start_emu_headless.sh b/ci/start_emu_headless.sh
index 3f29818d2..b5947d70f 100755
--- a/ci/start_emu_headless.sh
+++ b/ci/start_emu_headless.sh
@@ -39,7 +39,7 @@ hw_accel_flag=$(check_hardware_acceleration)
 
 function launch_emulator () {
     adb devices | grep emulator | cut -f1 | xargs -I {} adb -s "{}" emu kill
-    options="@${emulator_name} -no-window -no-snapshot -noaudio -no-boot-anim -memory 2048 ${hw_accel_flag} -camera-back none"
+    options="@${emulator_name} -no-window -no-snapshot -noaudio -no-boot-anim -memory 2048 ${hw_accel_flag} -camera-back none -no-metrics"
     if [[ "$OSTYPE" == *linux* ]]; then
         echo "${OSTYPE}: emulator ${options} -gpu off"
         nohup emulator $options -gpu off &
-- 
GitLab