aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBananeweizen <Bananeweizen@gmx.de>2013-10-03 20:21:32 +0200
committerBananeweizen <Bananeweizen@gmx.de>2013-10-03 20:21:32 +0200
commite3664d295f425f5585305653623a82852e36f2c1 (patch)
treeba99083b8d2cd95ac4fadf62114e5876b80fc0f2
parent3090b2210357da8d655e9e0e234e2db7db89d511 (diff)
downloadcgeo-e3664d295f425f5585305653623a82852e36f2c1.zip
cgeo-e3664d295f425f5585305653623a82852e36f2c1.tar.gz
cgeo-e3664d295f425f5585305653623a82852e36f2c1.tar.bz2
refactoring: documentation
-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) {