From 4bd34887324b90478ee89358697c543dca9cf4dc Mon Sep 17 00:00:00 2001 From: David Christie Date: Mon, 15 Sep 2014 19:22:24 -0700 Subject: Add @SystemApi to LocationManager methods used by GmsCore (with reflection). Bug: 17515515 Change-Id: I005871c721868bc52a3057839949eb342181b7b8 --- location/java/android/location/LocationManager.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'location') 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); -- cgit v1.1