From a4db6473f7890326330f951ec11bae9adb661221 Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Thu, 21 May 2015 16:26:33 -0700 Subject: CountryDetector no longer requires location permissions. Country information is already available elsewhere (MNC/MCC), so there's no point enforcing these permissions. It wasn't properly enforcing the permissions anyway, since the code path in question was sometimes executed on a handler thread. Bug 20927020 Change-Id: Ia090664917f7b694e80dd55934db442633bab1d8 --- location/java/android/location/CountryDetector.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'location') diff --git a/location/java/android/location/CountryDetector.java b/location/java/android/location/CountryDetector.java index 0b780ce..ce3c56f 100644 --- a/location/java/android/location/CountryDetector.java +++ b/location/java/android/location/CountryDetector.java @@ -44,8 +44,6 @@ import android.util.Log; * You do not instantiate this class directly; instead, retrieve it through * {@link android.content.Context#getSystemService * Context.getSystemService(Context.COUNTRY_DETECTOR)}. - *

- * Both ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION permissions are needed. * * @hide */ -- cgit v1.1