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