X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/5be4bf17e11bfae134f24bbc8501b618304467b4..c38a3b2ef12a3f6b4b1f0dad611d31cbd0686793:/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; }