From 27198a21021dd6f47d9b118c1bfdab3dca70a691 Mon Sep 17 00:00:00 2001 From: Mike Cailean Date: Wed, 17 Apr 2019 11:23:56 -0700 Subject: [PATCH] ApnTypeMask is not returned when USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL CRs-fixed: 2437315 Change-Id: If042451e94a651dafb542cdad9d419f08c85ba56 --- gnss/Agps.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnss/Agps.cpp b/gnss/Agps.cpp index 9de13292..7931d0c3 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",