From 7379550ef9fff225b41e4c12516a179b49057917 Mon Sep 17 00:00:00 2001 From: Kevin Tang Date: Mon, 22 Feb 2016 14:57:09 -0800 Subject: [PATCH] msm8974-common: gps: Fixes SUPL_MODE Carrier specific SUPL_MODE is not updated upon sim card insert. gpc_conf must be updated with the new value for config to be updated. Change-Id: I2a5f10fa7d27be9253e9ca6f34c0c886285d1b11 CRs-Fixed: 953942 --- gps/loc_api/libloc_api_50001/loc_eng.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gps/loc_api/libloc_api_50001/loc_eng.cpp b/gps/loc_api/libloc_api_50001/loc_eng.cpp index af97c51..6dc14dd 100644 --- a/gps/loc_api/libloc_api_50001/loc_eng.cpp +++ b/gps/loc_api/libloc_api_50001/loc_eng.cpp @@ -2737,6 +2737,7 @@ void loc_eng_configuration_update (loc_eng_data_s_type &loc_eng_data, gps_conf_tmp.SUPL_VER = gps_conf.SUPL_VER; gps_conf_tmp.LPP_PROFILE = gps_conf.LPP_PROFILE; gps_conf_tmp.A_GLONASS_POS_PROTOCOL_SELECT = gps_conf.A_GLONASS_POS_PROTOCOL_SELECT; + gps_conf_tmp.SUPL_MODE = gps_conf.SUPL_MODE; gps_conf_tmp.GPS_LOCK = gps_conf.GPS_LOCK; gps_conf = gps_conf_tmp; }