From 7dc469d38ead9ad16953d8debaf0eeaffd81c367 Mon Sep 17 00:00:00 2001 From: Adam Serbinski Date: Tue, 28 May 2019 15:07:28 -0400 Subject: Android HAL: update timestamp reported to frameworks in car mode Signed-off-by: Gary E. Miller --- android/hal/Gnss.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/android/hal/Gnss.cpp b/android/hal/Gnss.cpp index 2180e418..792ce5c9 100644 --- a/android/hal/Gnss.cpp +++ b/android/hal/Gnss.cpp @@ -144,6 +144,7 @@ Return Gnss::start() { this->reportLocation(location); } else if (is_automotive && last_recorded_fix == 0){ + location.timestamp = (long) time(NULL); this->reportLocation(location); } -- cgit v1.2.1