summaryrefslogtreecommitdiff
path: root/location/java
diff options
context:
space:
mode:
author Soonil Nagarkar <sooniln@google.com> 2020-12-11 20:57:15 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-12-11 20:57:15 +0000
commit018a3adbd50d5ab6c72eedbfde088904823ebb3a (patch)
treef741a5d19a6df0faf32110b64da96b813b10dbe7 /location/java
parentf4bb783cbeefb9bdb31654a79df81fde48ff6b5d (diff)
parentb1ad3c5625690be53a3d0fc303e57927835996c3 (diff)
Merge "Restore get/setExtras per API council feedback"
Diffstat (limited to 'location/java')
-rw-r--r--location/java/android/location/Location.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/location/java/android/location/Location.java b/location/java/android/location/Location.java
index 47ecbd80a07f..a7e9a0de538a 100644
--- a/location/java/android/location/Location.java
+++ b/location/java/android/location/Location.java
@@ -1049,11 +1049,7 @@ public class Location implements Parcelable {
* <ul>
* <li> satellites - the number of satellites used to derive the fix
* </ul>
- *
- * @deprecated Do not use. For GNSS related information, prefer listening for GNSS status
- * information via {@link LocationManager}.
*/
- @Deprecated
public Bundle getExtras() {
return mExtras;
}
@@ -1063,10 +1059,7 @@ public class Location implements Parcelable {
*
* <p>Note this stores a copy of the given extras, so any changes to extras after calling this
* method won't be reflected in the location bundle.
- *
- * @deprecated Do not use.
*/
- @Deprecated
public void setExtras(@Nullable Bundle extras) {
mExtras = (extras == null) ? null : new Bundle(extras);
}