summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2012-08-13 19:35:39 -0700
committerNick Pelly <npelly@google.com>2012-08-16 17:59:34 -0700
commit4e31c4fffbc42b4c2b5dca6431cfeef9e078f5b4 (patch)
treee1e5a1df577872de6f947623cdccfe50062cb521 /api
parent74fa7eabda3d0c1a85e0b568e3fc4230ed4fe7a4 (diff)
downloadframeworks_base-4e31c4fffbc42b4c2b5dca6431cfeef9e078f5b4.zip
frameworks_base-4e31c4fffbc42b4c2b5dca6431cfeef9e078f5b4.tar.gz
frameworks_base-4e31c4fffbc42b4c2b5dca6431cfeef9e078f5b4.tar.bz2
Add javadoc for new location API's.
Change-Id: If15024ee88421c07ba3a174747774fc451fd002e
Diffstat (limited to 'api')
-rw-r--r--api/current.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt
index d2f1e4e..cae206c 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<java.lang.String> getProviders(boolean);
method public deprecated java.util.List<java.lang.String> 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);