summaryrefslogtreecommitdiffstats
path: root/location/java
diff options
context:
space:
mode:
authordestradaa <destradaa@google.com>2015-04-15 16:14:57 -0700
committerdestradaa <destradaa@google.com>2015-04-28 12:49:20 -0700
commitd593bf272d1e8bbbb1326fff74910f8f4774d921 (patch)
tree9b4fd9e1bb2f5392f0c19f669ce1dfc021c8b270 /location/java
parent6ab47fc111a8c5eb814b9bbea7ebd0ae429fa709 (diff)
downloadframeworks_base-d593bf272d1e8bbbb1326fff74910f8f4774d921.zip
frameworks_base-d593bf272d1e8bbbb1326fff74910f8f4774d921.tar.gz
frameworks_base-d593bf272d1e8bbbb1326fff74910f8f4774d921.tar.bz2
Add SystemApis in GpsMeasurements APIs to reflect changes in GPS HAL.
b/19938206 Change-Id: I91fd65b29e091b600ee4982a16321308e4d55aef
Diffstat (limited to 'location/java')
-rw-r--r--location/java/android/location/GpsMeasurement.java4
-rw-r--r--location/java/android/location/GpsNavigationMessage.java10
2 files changed, 0 insertions, 14 deletions
diff --git a/location/java/android/location/GpsMeasurement.java b/location/java/android/location/GpsMeasurement.java
index df128c9..f13a440 100644
--- a/location/java/android/location/GpsMeasurement.java
+++ b/location/java/android/location/GpsMeasurement.java
@@ -140,8 +140,6 @@ public class GpsMeasurement implements Parcelable {
/**
* The state of the GPS receiver contains millisecond ambiguity.
- *
- * @hide
*/
public static final short STATE_MSEC_AMBIGUOUS = (1<<4);
@@ -399,8 +397,6 @@ public class GpsMeasurement implements Parcelable {
*
* @return {@code true} if {@link #getPseudorangeRateInMetersPerSec()} contains a corrected
* value, {@code false} if it contains an uncorrected value.
- *
- * @hide
*/
public boolean isPseudorangeRateCorrected() {
return !isFlagSet(GPS_MEASUREMENT_HAS_UNCORRECTED_PSEUDORANGE_RATE);
diff --git a/location/java/android/location/GpsNavigationMessage.java b/location/java/android/location/GpsNavigationMessage.java
index 5b12a61..5c3c710 100644
--- a/location/java/android/location/GpsNavigationMessage.java
+++ b/location/java/android/location/GpsNavigationMessage.java
@@ -62,23 +62,17 @@ public class GpsNavigationMessage implements Parcelable {
/**
* The Navigation Message Status is 'unknown'.
- *
- * @hide
*/
public static final short STATUS_UNKNOWN = 0;
/**
* The Navigation Message was received without any parity error in its navigation words.
- *
- * @hide
*/
public static final short STATUS_PARITY_PASSED = (1<<0);
/**
* The Navigation Message was received with words that failed parity check, but the receiver was
* able to correct those words.
- *
- * @hide
*/
public static final short STATUS_PARITY_REBUILT = (1<<1);
@@ -220,8 +214,6 @@ public class GpsNavigationMessage implements Parcelable {
/**
* Gets the Status of the navigation message contained in the object.
- *
- * @hide
*/
public short getStatus() {
return mStatus;
@@ -229,8 +221,6 @@ public class GpsNavigationMessage implements Parcelable {
/**
* Sets the status of the navigation message.
- *
- * @hide
*/
public void setStatus(short value) {
mStatus = value;