GPS Status: TrackListActivity uses the value of gps status from the service to select appropiate icon.

This commit is contained in:
Román
2020-08-04 15:13:38 +02:00
committed by Román Martínez
parent e2b741dd08
commit 9837680540
6 changed files with 55 additions and 19 deletions
@@ -60,6 +60,10 @@ public class HandlerServer {
service.newGpsStatus(gpsStatusValue);
}
public GpsStatusValue getGpsStatus() {
return locationHandler.getGpsStatus();
}
public interface HandlerServerInterface {
void newTrackPoint(TrackPoint trackPoint, int gpsAccuracy);
void newGpsStatus(GpsStatusValue gpsStatusValue);