Skip to content

Commit cf969fb

Browse files
committed
Accidentally left out the Log Once feature
1 parent 2336e7b commit cf969fb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gpslogger/src/main/java/com/mendhak/gpslogger/GpsLoggingService.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import android.preference.PreferenceManager;
3434
import android.support.v4.app.NotificationCompat;
3535
import android.support.v4.app.TaskStackBuilder;
36+
import android.util.Log;
3637
import com.mendhak.gpslogger.common.*;
3738
import com.mendhak.gpslogger.common.events.CommandEvents;
3839
import com.mendhak.gpslogger.common.events.ServiceEvents;
@@ -905,4 +906,9 @@ public void onEvent(CommandEvents.Annotate annotate){
905906
EventBus.getDefault().removeStickyEvent(CommandEvents.Annotate.class);
906907
}
907908

909+
@EventBusHook
910+
public void onEvent(CommandEvents.LogOnce logOnce){
911+
LogOnce();
912+
}
913+
908914
}

0 commit comments

Comments
 (0)