summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hall Liu <hallliu@google.com> 2020-06-08 17:40:12 -0700
committer Hall Liu <hallliu@google.com> 2020-06-16 13:53:59 -0700
commit91219a4a4fea26bbdfa8a6062851bbfe4930c36e (patch)
tree216b0b34220a3d5438c9ac05645dd29e6121e657
parent4f45ccd46bf0710f86782ab650bb15c251b531d9 (diff)
Fix docs for LISTEN_CELL_LOCATION
Update docs to reflect the ACCESS_FINE_LOCATION requirement. Fixes: 140711339 Test: docs only Change-Id: I64141b9428632069e0ec2345f3ff58a22bbb20aa
-rw-r--r--core/java/android/telephony/PhoneStateListener.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/telephony/PhoneStateListener.java b/core/java/android/telephony/PhoneStateListener.java
index d64077525905..46f4bdf3a305 100644
--- a/core/java/android/telephony/PhoneStateListener.java
+++ b/core/java/android/telephony/PhoneStateListener.java
@@ -157,8 +157,8 @@ public class PhoneStateListener {
* Listen for changes to the device's cell location. Note that
* this will result in frequent callbacks to the listener.
* {@more}
- * Requires Permission: {@link android.Manifest.permission#ACCESS_COARSE_LOCATION
- * ACCESS_COARSE_LOCATION}
+ * Requires Permission: {@link android.Manifest.permission#ACCESS_FINE_LOCATION
+ * ACCESS_FINE_LOCATION}
* <p>
* If you need regular location updates but want more control over
* the update interval or location precision, you can set up a listener