diff options
author | Mike Cailean <mcailean@codeaurora.org> | 2019-04-17 11:23:56 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-04-25 10:49:03 -0700 |
commit | 27198a21021dd6f47d9b118c1bfdab3dca70a691 (patch) | |
tree | 5da7d0927b221af4f1ec814ff8c0f8a3b4b6fff7 | |
parent | e3240df27fb63294175f6e8a74e51da27aba03c9 (diff) | |
download | gps-27198a21021dd6f47d9b118c1bfdab3dca70a691.tar.gz |
ApnTypeMask is not returned when
USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL
CRs-fixed: 2437315
Change-Id: If042451e94a651dafb542cdad9d419f08c85ba56
-rw-r--r-- | gnss/Agps.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnss/Agps.cpp b/gnss/Agps.cpp index 9de1329..7931d0c 100644 --- a/gnss/Agps.cpp +++ b/gnss/Agps.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. +/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -562,6 +562,7 @@ void AgpsManager::requestATL(int connHandle, AGpsExtType agpsType, LOC_AGPS_TYPE_SUPL_ES == agpsType) { agpsType = LOC_AGPS_TYPE_SUPL; apnTypeMask &= ~LOC_APN_TYPE_MASK_EMERGENCY; + apnTypeMask |= LOC_APN_TYPE_MASK_SUPL; LOC_LOGD("Changed agpsType to non-emergency when USE_EMERGENCY... is 0" "and removed LOC_APN_TYPE_MASK_EMERGENCY from apnTypeMask" "agpsType 0x%X apnTypeMask : 0x%X", |