Merge "API REVIEW: Undeprecate Location.dump() Bug #7173109" into jb-mr1-dev
This commit is contained in:
@@ -10655,7 +10655,7 @@ package android.location {
|
||||
method public int describeContents();
|
||||
method public static void distanceBetween(double, double, double, double, float[]);
|
||||
method public float distanceTo(android.location.Location);
|
||||
method public deprecated void dump(android.util.Printer, java.lang.String);
|
||||
method public void dump(android.util.Printer, java.lang.String);
|
||||
method public float getAccuracy();
|
||||
method public double getAltitude();
|
||||
method public float getBearing();
|
||||
|
||||
@@ -83,7 +83,7 @@ public class Location implements Parcelable {
|
||||
private float mDistance = 0.0f;
|
||||
private float mInitialBearing = 0.0f;
|
||||
// Scratchpad
|
||||
private float[] mResults = new float[2];
|
||||
private final float[] mResults = new float[2];
|
||||
|
||||
/**
|
||||
* Construct a new Location with a named provider.
|
||||
@@ -839,10 +839,6 @@ public class Location implements Parcelable {
|
||||
return s.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #toString} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public void dump(Printer pw, String prefix) {
|
||||
pw.println(prefix + toString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user