forked from upstream-mirrors/OpenTracks
Merging
This commit is contained in:
@@ -508,6 +508,10 @@ public class TrackDataHub {
|
|||||||
|
|
||||||
// If this is the only listener we have registered, keep the state that we serve to it as
|
// If this is the only listener we have registered, keep the state that we serve to it as
|
||||||
// a reference for other future listeners.
|
// a reference for other future listeners.
|
||||||
|
if (isOnlyListener && reloadAll) {
|
||||||
|
resetState();
|
||||||
|
}
|
||||||
|
|
||||||
notifyPointsUpdated(isOnlyListener,
|
notifyPointsUpdated(isOnlyListener,
|
||||||
minPointId,
|
minPointId,
|
||||||
previousNumPoints,
|
previousNumPoints,
|
||||||
|
|||||||
Reference in New Issue
Block a user