diff options
| author | Dante Russo <drusso@codeaurora.org> | 2016-04-22 14:19:33 -0700 |
|---|---|---|
| committer | firebird11 <hbgassel@gmail.com> | 2019-01-12 14:01:44 +0100 |
| commit | b9a75a86ec513ad29c442cd5c25dac97738900b2 (patch) | |
| tree | 8730c049dee321496d0af10a244c964f4db10d7d | |
| parent | e8ea9325c3894fb9aefdd55e553d01ed91644fbf (diff) | |
g3-common: gps: Default apn ip type to ipv4
If a apn ip type is not found for a agps
data connection, default to using ipv4
instead of invalid.
CRs-fixed: 1007417
Bug: 28986221
Change-Id: Icc71de1fab3fd5967901c39a5c11eaea17b7766c
Signed-off-by: D. Andrei Măceș <Andrei.Maces@alumni.nd.edu>
| -rw-r--r-- | gps/libloc_api_50001/loc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gps/libloc_api_50001/loc.cpp b/gps/libloc_api_50001/loc.cpp index d822e2d..48d6360 100644 --- a/gps/libloc_api_50001/loc.cpp +++ b/gps/libloc_api_50001/loc.cpp @@ -872,7 +872,7 @@ static int loc_agps_open_with_apniptype(const char* apn, ApnIpType apnIpType) bearerType = AGPS_APN_BEARER_IPV4V6; break; default: - bearerType = AGPS_APN_BEARER_INVALID; + bearerType = AGPS_APN_BEARER_IPV4; break; } |
