aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/src/cgeo/geocaching/speech/SpeechService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/speech/SpeechService.java b/main/src/cgeo/geocaching/speech/SpeechService.java
index baa843b..2a72bbf 100644
--- a/main/src/cgeo/geocaching/speech/SpeechService.java
+++ b/main/src/cgeo/geocaching/speech/SpeechService.java
@@ -1,8 +1,8 @@
package cgeo.geocaching.speech;
+import cgeo.geocaching.CgeoApplication;
import cgeo.geocaching.DirectionProvider;
import cgeo.geocaching.R;
-import cgeo.geocaching.CgeoApplication;
import cgeo.geocaching.activity.ActivityMixin;
import cgeo.geocaching.geopoint.Geopoint;
import cgeo.geocaching.settings.Settings;
@@ -177,7 +177,7 @@ public class SpeechService extends Service implements OnInitListener {
if (intent != null) {
target = intent.getParcelableExtra(EXTRA_TARGET_COORDS);
}
- return START_NOT_STICKY;
+ return START_NOT_STICKY; // service can be stopped by system, if under memory pressure
}
private void speak(final String text) {