summaryrefslogtreecommitdiffstats
path: root/location
diff options
context:
space:
mode:
authordestradaa <destradaa@google.com>2015-02-02 18:07:40 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-02-02 18:07:41 +0000
commit22287fe7c20f0382ce3e5ae5b480a3f18b625094 (patch)
treedaa7137b87d92174ab49e45458e44c5665c1e554 /location
parente300553a01160c093c44c1f428117360714e513f (diff)
parent13a60b0d41c740448ea39ca19842c7b193c61efd (diff)
downloadframeworks_base-22287fe7c20f0382ce3e5ae5b480a3f18b625094.zip
frameworks_base-22287fe7c20f0382ce3e5ae5b480a3f18b625094.tar.gz
frameworks_base-22287fe7c20f0382ce3e5ae5b480a3f18b625094.tar.bz2
Merge "Fix race condition generating READY and NOT_SUPPORTED statuses."
Diffstat (limited to 'location')
-rw-r--r--location/java/android/location/GpsNavigationMessageEvent.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/location/java/android/location/GpsNavigationMessageEvent.java b/location/java/android/location/GpsNavigationMessageEvent.java
index bd6921c..7452721 100644
--- a/location/java/android/location/GpsNavigationMessageEvent.java
+++ b/location/java/android/location/GpsNavigationMessageEvent.java
@@ -36,18 +36,18 @@ public class GpsNavigationMessageEvent implements Parcelable {
* The system does not support tracking of GPS Navigation Messages. This status will not change
* in the future.
*/
- public static int STATUS_NOT_SUPPORTED = 0;
+ public static final int STATUS_NOT_SUPPORTED = 0;
/**
* GPS Navigation Messages are successfully being tracked, it will receive updates once they are
* available.
*/
- public static int STATUS_READY = 1;
+ public static final int STATUS_READY = 1;
/**
* GPS provider or Location is disabled, updated will not be received until they are enabled.
*/
- public static int STATUS_GPS_LOCATION_DISABLED = 2;
+ public static final int STATUS_GPS_LOCATION_DISABLED = 2;
private final GpsNavigationMessage mNavigationMessage;