@@ -10582,7 +10582,7 @@ package android.location {
1058210582 field public static final android.os.Parcelable.Creator CREATOR;
1058310583 }
1058410584
10585- public deprecated class Criteria implements android.os.Parcelable {
10585+ public class Criteria implements android.os.Parcelable {
1058610586 ctor public Criteria();
1058710587 ctor public Criteria(android.location.Criteria);
1058810588 method public int describeContents();
@@ -10628,13 +10628,6 @@ package android.location {
1062810628 method public static boolean isPresent();
1062910629 }
1063010630
10631- public final class Geofence implements android.os.Parcelable {
10632- method public static android.location.Geofence createCircle(double, double, float);
10633- method public int describeContents();
10634- method public void writeToParcel(android.os.Parcel, int);
10635- field public static final android.os.Parcelable.Creator CREATOR;
10636- }
10637-
1063810631 public final class GpsSatellite {
1063910632 method public float getAzimuth();
1064010633 method public float getElevation();
@@ -10680,7 +10673,7 @@ package android.location {
1068010673 method public android.os.Bundle getExtras();
1068110674 method public double getLatitude();
1068210675 method public double getLongitude();
10683- method public deprecated java.lang.String getProvider();
10676+ method public java.lang.String getProvider();
1068410677 method public float getSpeed();
1068510678 method public long getTime();
1068610679 method public boolean hasAccuracy();
@@ -10718,57 +10711,51 @@ package android.location {
1071810711 }
1071910712
1072010713 public class LocationManager {
10721- method public void addGeofence(android.location.LocationRequest, android.location.Geofence, android.app.PendingIntent);
1072210714 method public boolean addGpsStatusListener(android.location.GpsStatus.Listener);
1072310715 method public boolean addNmeaListener(android.location.GpsStatus.NmeaListener);
10724- method public deprecated void addProximityAlert(double, double, float, long, android.app.PendingIntent);
10725- method public deprecated void addTestProvider(java.lang.String, boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, int);
10726- method public deprecated void clearTestProviderEnabled(java.lang.String);
10727- method public deprecated void clearTestProviderLocation(java.lang.String);
10728- method public deprecated void clearTestProviderStatus(java.lang.String);
10729- method public deprecated java.util.List<java.lang.String> getAllProviders();
10730- method public deprecated java.lang.String getBestProvider(android.location.Criteria, boolean);
10716+ method public void addProximityAlert(double, double, float, long, android.app.PendingIntent);
10717+ method public void addTestProvider(java.lang.String, boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, int);
10718+ method public void clearTestProviderEnabled(java.lang.String);
10719+ method public void clearTestProviderLocation(java.lang.String);
10720+ method public void clearTestProviderStatus(java.lang.String);
10721+ method public java.util.List<java.lang.String> getAllProviders();
10722+ method public java.lang.String getBestProvider(android.location.Criteria, boolean);
1073110723 method public android.location.GpsStatus getGpsStatus(android.location.GpsStatus);
10732- method public deprecated android.location.Location getLastKnownLocation(java.lang.String);
10733- method public android.location.Location getLastLocation();
10734- method public deprecated android.location.LocationProvider getProvider(java.lang.String);
10735- method public deprecated java.util.List<java.lang.String> getProviders(boolean);
10736- method public deprecated java.util.List<java.lang.String> getProviders(android.location.Criteria, boolean);
10737- method public deprecated boolean isProviderEnabled(java.lang.String);
10738- method public void removeAllGeofences(android.app.PendingIntent);
10739- method public void removeGeofence(android.location.Geofence, android.app.PendingIntent);
10724+ method public android.location.Location getLastKnownLocation(java.lang.String);
10725+ method public android.location.LocationProvider getProvider(java.lang.String);
10726+ method public java.util.List<java.lang.String> getProviders(boolean);
10727+ method public java.util.List<java.lang.String> getProviders(android.location.Criteria, boolean);
10728+ method public boolean isProviderEnabled(java.lang.String);
1074010729 method public void removeGpsStatusListener(android.location.GpsStatus.Listener);
1074110730 method public void removeNmeaListener(android.location.GpsStatus.NmeaListener);
10742- method public deprecated void removeProximityAlert(android.app.PendingIntent);
10743- method public deprecated void removeTestProvider(java.lang.String);
10731+ method public void removeProximityAlert(android.app.PendingIntent);
10732+ method public void removeTestProvider(java.lang.String);
1074410733 method public void removeUpdates(android.location.LocationListener);
1074510734 method public void removeUpdates(android.app.PendingIntent);
10746- method public deprecated void requestLocationUpdates(java.lang.String, long, float, android.location.LocationListener);
10747- method public deprecated void requestLocationUpdates(java.lang.String, long, float, android.location.LocationListener, android.os.Looper);
10748- method public deprecated void requestLocationUpdates(long, float, android.location.Criteria, android.location.LocationListener, android.os.Looper);
10749- method public deprecated void requestLocationUpdates(java.lang.String, long, float, android.app.PendingIntent);
10750- method public deprecated void requestLocationUpdates(long, float, android.location.Criteria, android.app.PendingIntent);
10751- method public void requestLocationUpdates(android.location.LocationRequest, android.location.LocationListener, android.os.Looper);
10752- method public void requestLocationUpdates(android.location.LocationRequest, android.app.PendingIntent);
10753- method public deprecated void requestSingleUpdate(java.lang.String, android.location.LocationListener, android.os.Looper);
10754- method public deprecated void requestSingleUpdate(android.location.Criteria, android.location.LocationListener, android.os.Looper);
10755- method public deprecated void requestSingleUpdate(java.lang.String, android.app.PendingIntent);
10756- method public deprecated void requestSingleUpdate(android.location.Criteria, android.app.PendingIntent);
10757- method public deprecated boolean sendExtraCommand(java.lang.String, java.lang.String, android.os.Bundle);
10758- method public deprecated void setTestProviderEnabled(java.lang.String, boolean);
10759- method public deprecated void setTestProviderLocation(java.lang.String, android.location.Location);
10760- method public deprecated void setTestProviderStatus(java.lang.String, int, android.os.Bundle, long);
10761- field public static final deprecated java.lang.String GPS_PROVIDER = "gps";
10735+ method public void requestLocationUpdates(java.lang.String, long, float, android.location.LocationListener);
10736+ method public void requestLocationUpdates(java.lang.String, long, float, android.location.LocationListener, android.os.Looper);
10737+ method public void requestLocationUpdates(long, float, android.location.Criteria, android.location.LocationListener, android.os.Looper);
10738+ method public void requestLocationUpdates(java.lang.String, long, float, android.app.PendingIntent);
10739+ method public void requestLocationUpdates(long, float, android.location.Criteria, android.app.PendingIntent);
10740+ method public void requestSingleUpdate(java.lang.String, android.location.LocationListener, android.os.Looper);
10741+ method public void requestSingleUpdate(android.location.Criteria, android.location.LocationListener, android.os.Looper);
10742+ method public void requestSingleUpdate(java.lang.String, android.app.PendingIntent);
10743+ method public void requestSingleUpdate(android.location.Criteria, android.app.PendingIntent);
10744+ method public boolean sendExtraCommand(java.lang.String, java.lang.String, android.os.Bundle);
10745+ method public void setTestProviderEnabled(java.lang.String, boolean);
10746+ method public void setTestProviderLocation(java.lang.String, android.location.Location);
10747+ method public void setTestProviderStatus(java.lang.String, int, android.os.Bundle, long);
10748+ field public static final java.lang.String GPS_PROVIDER = "gps";
1076210749 field public static final java.lang.String KEY_LOCATION_CHANGED = "location";
10763- field public static final deprecated java.lang.String KEY_PROVIDER_ENABLED = "providerEnabled";
10750+ field public static final java.lang.String KEY_PROVIDER_ENABLED = "providerEnabled";
1076410751 field public static final java.lang.String KEY_PROXIMITY_ENTERING = "entering";
10765- field public static final deprecated java.lang.String KEY_STATUS_CHANGED = "status";
10766- field public static final deprecated java.lang.String NETWORK_PROVIDER = "network";
10767- field public static final deprecated java.lang.String PASSIVE_PROVIDER = "passive";
10768- field public static final deprecated java.lang.String PROVIDERS_CHANGED_ACTION = "android.location.PROVIDERS_CHANGED";
10752+ field public static final java.lang.String KEY_STATUS_CHANGED = "status";
10753+ field public static final java.lang.String NETWORK_PROVIDER = "network";
10754+ field public static final java.lang.String PASSIVE_PROVIDER = "passive";
10755+ field public static final java.lang.String PROVIDERS_CHANGED_ACTION = "android.location.PROVIDERS_CHANGED";
1076910756 }
1077010757
10771- public deprecated class LocationProvider {
10758+ public class LocationProvider {
1077210759 method public int getAccuracy();
1077310760 method public java.lang.String getName();
1077410761 method public int getPowerRequirement();
@@ -10785,30 +10772,6 @@ package android.location {
1078510772 field public static final int TEMPORARILY_UNAVAILABLE = 1; // 0x1
1078610773 }
1078710774
10788- public final class LocationRequest implements android.os.Parcelable {
10789- method public static android.location.LocationRequest create();
10790- method public int describeContents();
10791- method public long getExpireAt();
10792- method public long getFastestInterval();
10793- method public long getInterval();
10794- method public int getNumUpdates();
10795- method public int getQuality();
10796- method public android.location.LocationRequest setExpireAt(long);
10797- method public android.location.LocationRequest setExpireIn(long);
10798- method public android.location.LocationRequest setFastestInterval(long);
10799- method public android.location.LocationRequest setInterval(long);
10800- method public android.location.LocationRequest setNumUpdates(int);
10801- method public android.location.LocationRequest setQuality(int);
10802- method public void writeToParcel(android.os.Parcel, int);
10803- field public static final int ACCURACY_BLOCK = 102; // 0x66
10804- field public static final int ACCURACY_CITY = 104; // 0x68
10805- field public static final int ACCURACY_FINE = 100; // 0x64
10806- field public static final android.os.Parcelable.Creator CREATOR;
10807- field public static final int POWER_HIGH = 203; // 0xcb
10808- field public static final int POWER_LOW = 201; // 0xc9
10809- field public static final int POWER_NONE = 200; // 0xc8
10810- }
10811-
1081210775}
1081310776
1081410777package android.media {
0 commit comments