Skip to content

Commit c1eca46

Browse files
author
Atanas Dimitrov
committed
Adds a method providing the last fixed location.
1 parent 2b05e5e commit c1eca46

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

madlocationmanager/src/main/java/mad/location/manager/lib/Services/KalmanLocationService.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ public void addStatusInterfaces(List<LocationServiceStatusInterface> locationSer
137137
}
138138
}
139139

140+
public Location getLastLocation() {
141+
return m_lastLocation;
142+
}
143+
140144
/*Service implementation*/
141145
public class LocalBinder extends Binder {
142146
public KalmanLocationService getService() {

0 commit comments

Comments
 (0)