From 4e31c4fffbc42b4c2b5dca6431cfeef9e078f5b4 Mon Sep 17 00:00:00 2001 From: Nick Pelly Date: Mon, 13 Aug 2012 19:35:39 -0700 Subject: Add javadoc for new location API's. Change-Id: If15024ee88421c07ba3a174747774fc451fd002e --- api/current.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api') diff --git a/api/current.txt b/api/current.txt index d2f1e4ec8b50..cae206c09eb3 100644 --- a/api/current.txt +++ b/api/current.txt @@ -10549,7 +10549,7 @@ package android.location { method public android.os.Bundle getExtras(); method public double getLatitude(); method public double getLongitude(); - method public java.lang.String getProvider(); + method public deprecated java.lang.String getProvider(); method public float getSpeed(); method public long getTime(); method public boolean hasAccuracy(); @@ -10587,6 +10587,7 @@ package android.location { } public class LocationManager { + method public void addGeofence(android.location.LocationRequest, android.location.Geofence, android.app.PendingIntent); method public boolean addGpsStatusListener(android.location.GpsStatus.Listener); method public boolean addNmeaListener(android.location.GpsStatus.NmeaListener); method public deprecated void addProximityAlert(double, double, float, long, android.app.PendingIntent); @@ -10598,7 +10599,7 @@ package android.location { method public deprecated java.lang.String getBestProvider(android.location.Criteria, boolean); method public android.location.GpsStatus getGpsStatus(android.location.GpsStatus); method public deprecated android.location.Location getLastKnownLocation(java.lang.String); - method public android.location.Location getLastLocation(android.location.LocationRequest); + method public android.location.Location getLastLocation(); method public deprecated android.location.LocationProvider getProvider(java.lang.String); method public deprecated java.util.List getProviders(boolean); method public deprecated java.util.List getProviders(android.location.Criteria, boolean); @@ -10611,7 +10612,6 @@ package android.location { method public deprecated void removeTestProvider(java.lang.String); method public void removeUpdates(android.location.LocationListener); method public void removeUpdates(android.app.PendingIntent); - method public void requestGeofence(android.location.LocationRequest, android.location.Geofence, android.app.PendingIntent); method public deprecated void requestLocationUpdates(java.lang.String, long, float, android.location.LocationListener); method public deprecated void requestLocationUpdates(java.lang.String, long, float, android.location.LocationListener, android.os.Looper); method public deprecated void requestLocationUpdates(long, float, android.location.Criteria, android.location.LocationListener, android.os.Looper); -- cgit v1.2.3-59-g8ed1b