From bc3095139e9b8c7640fe6cebb4fc527af916d1be Mon Sep 17 00:00:00 2001 From: Tom O'Neill Date: Mon, 8 Sep 2014 10:06:34 -0700 Subject: Fix a STOPSHIP Change-Id: I3714f1645c0a847e912cb79515fe3991960c1698 --- location/java/android/location/LocationManager.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'location/java/android') diff --git a/location/java/android/location/LocationManager.java b/location/java/android/location/LocationManager.java index 082a158dbb2c..2c805bbe7835 100644 --- a/location/java/android/location/LocationManager.java +++ b/location/java/android/location/LocationManager.java @@ -1109,9 +1109,9 @@ public class LocationManager { * {@link #requestLocationUpdates(String, long, float, LocationListener)}. * *

- * Before API version 20, this method would throw {@link SecurityException} - * if the location permissions were not sufficient to use the specified - * provider. + * Before API version {@link android.os.Build.VERSION_CODES#L}, this + * method would throw {@link SecurityException} if the location permissions + * were not sufficient to use the specified provider. * * @param provider the name of the provider * @return true if the provider exists and is enabled @@ -1119,7 +1119,6 @@ public class LocationManager { * @throws IllegalArgumentException if provider is null */ public boolean isProviderEnabled(String provider) { - // STOPSHIP: finalize API version number in javadoc checkProvider(provider); try { -- cgit v1.2.3-59-g8ed1b