From 91219a4a4fea26bbdfa8a6062851bbfe4930c36e Mon Sep 17 00:00:00 2001 From: Hall Liu Date: Mon, 8 Jun 2020 17:40:12 -0700 Subject: [PATCH] Fix docs for LISTEN_CELL_LOCATION Update docs to reflect the ACCESS_FINE_LOCATION requirement. Fixes: 140711339 Test: docs only Change-Id: I64141b9428632069e0ec2345f3ff58a22bbb20aa --- core/java/android/telephony/PhoneStateListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/telephony/PhoneStateListener.java b/core/java/android/telephony/PhoneStateListener.java index d640775259059..46f4bdf3a3051 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} *

* If you need regular location updates but want more control over * the update interval or location precision, you can set up a listener