Add pixel logger before the first reboot

Bug: 252971345
Change-Id: Iac7973ac2c716ffaab2461cf9f875d03e169ead7
diff --git a/acts_tests/tests/google/gnss/GnssFunctionTest.py b/acts_tests/tests/google/gnss/GnssFunctionTest.py
index 0331a63..847ff7c 100644
--- a/acts_tests/tests/google/gnss/GnssFunctionTest.py
+++ b/acts_tests/tests/google/gnss/GnssFunctionTest.py
@@ -579,8 +579,11 @@
             Location fixed within supl_hs_criteria.
         """
         overall_test_result = []
+        # As b/252971345 requests, we need the log before reboot for debugging.
+        gutils.start_pixel_logger(self.ad)
         process_gnss_by_gtw_gpstool(self.ad, self.supl_cs_criteria)
         start_gnss_by_gtw_gpstool(self.ad, False)
+        gutils.stop_pixel_logger(self.ad)
         for test_loop in range(1, 11):
             reboot(self.ad)
             gutils.start_qxdm_and_tcpdump_log(self.ad, self.collect_logs)