I am running GPSTest on a DIGI ConnectCore 8M Mini embedded SoM, which is running a modified Android build based on Android 11. More info
here. The SoM is connected to a Telit GNSS chip and runs a custom driver which interacts with the chip and provides the gps data that GPSTest uses.
My problem is that the value in the "Time" field seems to always be UTC rather than the time adjusted for the time zone.
I can see in the
source code that the Time value reflects the "location.time" field, where the location object comes from the locationManager in
SharedLocationManager which listens to location data coming from the gnss driver.
I don't see any reference to TimeZone in the code, and the gnss driver also does not provide the application with time zone data as far as I understand. Can someone clarify to me how the GPSTest application determines the correct the time zone when displaying the "Time" field?