Fix gnss replay
Change the /dev/gnss0 read logic, will send the CMD_GET_LOCATION to
/dev/gnss0 first.
launch_cvd --start_gnss_proxy --gnss_file_path=xxx
Test: Manually
Bug: 183956668
Change-Id: Ic493790e80ceb6fd4d890b31e596b5c08addee40
(cherry picked from commit 80451ef0c39078e535b51668d709914c599be657)
diff --git a/gnss/common/utils/default/include/NmeaFixInfo.h b/gnss/common/utils/default/include/NmeaFixInfo.h
index 06eae7e..c96eece 100644
--- a/gnss/common/utils/default/include/NmeaFixInfo.h
+++ b/gnss/common/utils/default/include/NmeaFixInfo.h
@@ -32,6 +32,7 @@
constexpr char LINE_SEPARATOR = '\n';
constexpr char COMMA_SEPARATOR = ',';
constexpr double TIMESTAMP_EPSILON = 0.001;
+constexpr int MIN_COL_NUM = 13;
/** Helper class to parse and store the GNSS fix details information. */
class NmeaFixInfo {