X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/757f9027f59529a05be8c6ccb4f6f2b95569c5dc..236895e7f88813546c99a5d3306285e033998faf:/src/com/owncloud/android/location/LocationUpdateService.java diff --git a/src/com/owncloud/android/location/LocationUpdateService.java b/src/com/owncloud/android/location/LocationUpdateService.java index 6e3dfb83..298d15b6 100644 --- a/src/com/owncloud/android/location/LocationUpdateService.java +++ b/src/com/owncloud/android/location/LocationUpdateService.java @@ -57,9 +57,10 @@ public class LocationUpdateService extends IntentService implements // Notify user if there is no way to track the device if (mLocationProvider == null) { + String message = String.format(getString(R.string.location_no_provider), getString(R.string.app_name)); Toast.makeText(this, - R.string.location_no_provider, - Toast.LENGTH_LONG); + message, + Toast.LENGTH_LONG).show(); stopSelf(); return; }