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