Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a624ef0 authored by Romain Guy's avatar Romain Guy
Browse files

API REVIEW: Undeprecate Location.dump()

Bug #7173109

Change-Id: Ia2f4a5b6255dae7ace4702f7d66ec30a077c9c79
parent 11cb6427
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10654,7 +10654,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();
+1 −5
Original line number Diff line number Diff line
@@ -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());
    }