diff options
author | Hoss Zhou <zhouh@codeaurora.org> | 2018-12-20 15:05:08 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-03-18 16:33:52 -0700 |
commit | 1839fb1140242da10a6a599e65a7b79836007517 (patch) | |
tree | 28a5a60580cb1fd890ac0eddd1e271038ad04f21 /location | |
parent | a7953cd7eac3c6262b1b96bfdaa555da925b6f12 (diff) | |
download | gps-1839fb1140242da10a6a599e65a7b79836007517.tar.gz |
clear magic number for GPS_LOCK
Change-Id: I3c1b5a18ab16382a436098f8af541bf7f125783e
CRs-fixed: 2370451
Diffstat (limited to 'location')
-rw-r--r-- | location/LocationDataTypes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/location/LocationDataTypes.h b/location/LocationDataTypes.h index 5f21e0b..f60ba78 100644 --- a/location/LocationDataTypes.h +++ b/location/LocationDataTypes.h @@ -225,12 +225,13 @@ typedef enum { } LocationTechnologyType; // Configures how GPS is locked when GPS is disabled (through GnssDisable) -typedef enum { +enum { GNSS_CONFIG_GPS_LOCK_NONE = 0, // gps is not locked when GPS is disabled (GnssDisable) GNSS_CONFIG_GPS_LOCK_MO, // gps mobile originated (MO) is locked when GPS is disabled GNSS_CONFIG_GPS_LOCK_NI, // gps network initiated (NI) is locked when GPS is disabled GNSS_CONFIG_GPS_LOCK_MO_AND_NI,// gps MO and NI is locked when GPS is disabled -} GnssConfigGpsLock; +}; +typedef int32_t GnssConfigGpsLock; // SUPL version typedef enum { |