summaryrefslogtreecommitdiffstats
path: root/location
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-09-21 11:20:00 -0700
committerRomain Guy <romainguy@google.com>2012-09-21 11:20:00 -0700
commit8a624ef0fe5e86031f15f4120205c869e34f6637 (patch)
tree796e0ea05d7777a9ed60233c3b8f3c264bbca707 /location
parent11cb642756093a4af901b1525375b1eb2b5c3e2b (diff)
downloadframeworks_base-8a624ef0fe5e86031f15f4120205c869e34f6637.zip
frameworks_base-8a624ef0fe5e86031f15f4120205c869e34f6637.tar.gz
frameworks_base-8a624ef0fe5e86031f15f4120205c869e34f6637.tar.bz2
API REVIEW: Undeprecate Location.dump()
Bug #7173109 Change-Id: Ia2f4a5b6255dae7ace4702f7d66ec30a077c9c79
Diffstat (limited to 'location')
-rw-r--r--location/java/android/location/Location.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/location/java/android/location/Location.java b/location/java/android/location/Location.java
index 40cb1a8..2d94ddc 100644
--- a/location/java/android/location/Location.java
+++ b/location/java/android/location/Location.java
@@ -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());
}