summaryrefslogtreecommitdiffstats
path: root/location
diff options
context:
space:
mode:
authorDavid Christie <dnchrist@google.com>2014-09-15 19:22:24 -0700
committerDavid Christie <dnchrist@google.com>2014-09-15 19:22:24 -0700
commit4bd34887324b90478ee89358697c543dca9cf4dc (patch)
tree66fee8c503d8ce3492665538e680af26d74a6a70 /location
parent833dcd4bea5cadccaa55f9a06942bb36d01d73ac (diff)
downloadframeworks_base-4bd34887324b90478ee89358697c543dca9cf4dc.zip
frameworks_base-4bd34887324b90478ee89358697c543dca9cf4dc.tar.gz
frameworks_base-4bd34887324b90478ee89358697c543dca9cf4dc.tar.bz2
Add @SystemApi to LocationManager methods used by GmsCore (with reflection).
Bug: 17515515 Change-Id: I005871c721868bc52a3057839949eb342181b7b8
Diffstat (limited to 'location')
-rw-r--r--location/java/android/location/LocationManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/location/java/android/location/LocationManager.java b/location/java/android/location/LocationManager.java
index 082a158..ffab49d 100644
--- a/location/java/android/location/LocationManager.java
+++ b/location/java/android/location/LocationManager.java
@@ -18,6 +18,7 @@ package android.location;
import com.android.internal.location.ProviderProperties;
+import android.annotation.SystemApi;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
@@ -808,6 +809,7 @@ public class LocationManager {
*
* @hide
*/
+ @SystemApi
public void requestLocationUpdates(LocationRequest request, LocationListener listener,
Looper looper) {
checkListener(listener);
@@ -835,6 +837,7 @@ public class LocationManager {
*
* @hide
*/
+ @SystemApi
public void requestLocationUpdates(LocationRequest request, PendingIntent intent) {
checkPendingIntent(intent);
requestLocationUpdates(request, null, null, intent);