diff options
author | David Christie <dnchrist@google.com> | 2014-09-15 19:22:24 -0700 |
---|---|---|
committer | David Christie <dnchrist@google.com> | 2014-09-15 19:22:24 -0700 |
commit | 4bd34887324b90478ee89358697c543dca9cf4dc (patch) | |
tree | 66fee8c503d8ce3492665538e680af26d74a6a70 /location | |
parent | 833dcd4bea5cadccaa55f9a06942bb36d01d73ac (diff) | |
download | frameworks_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.java | 3 |
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); |