summaryrefslogtreecommitdiffstats
path: root/location
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2015-05-21 16:26:33 -0700
committerMakoto Onuki <omakoto@google.com>2015-05-21 16:29:40 -0700
commita4db6473f7890326330f951ec11bae9adb661221 (patch)
tree770e4c48480dcf34d902c096ad378b8d07b787bf /location
parentc0a9cd440db7a2881baf5f970eb78aabc11614e3 (diff)
downloadframeworks_base-a4db6473f7890326330f951ec11bae9adb661221.zip
frameworks_base-a4db6473f7890326330f951ec11bae9adb661221.tar.gz
frameworks_base-a4db6473f7890326330f951ec11bae9adb661221.tar.bz2
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
Diffstat (limited to 'location')
-rw-r--r--location/java/android/location/CountryDetector.java2
1 files changed, 0 insertions, 2 deletions
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)}.
- * <p>
- * Both ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION permissions are needed.
*
* @hide
*/