We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2336e7b commit cf969fbCopy full SHA for cf969fb
gpslogger/src/main/java/com/mendhak/gpslogger/GpsLoggingService.java
@@ -33,6 +33,7 @@
33
import android.preference.PreferenceManager;
34
import android.support.v4.app.NotificationCompat;
35
import android.support.v4.app.TaskStackBuilder;
36
+import android.util.Log;
37
import com.mendhak.gpslogger.common.*;
38
import com.mendhak.gpslogger.common.events.CommandEvents;
39
import com.mendhak.gpslogger.common.events.ServiceEvents;
@@ -905,4 +906,9 @@ public void onEvent(CommandEvents.Annotate annotate){
905
906
EventBus.getDefault().removeStickyEvent(CommandEvents.Annotate.class);
907
}
908
909
+ @EventBusHook
910
+ public void onEvent(CommandEvents.LogOnce logOnce){
911
+ LogOnce();
912
+ }
913
+
914
0 commit comments