diff options
author | Wayne Lin <waynewhlin@google.com> | 2019-07-18 20:14:44 +0800 |
---|---|---|
committer | Wayne Lin <waynewhlin@google.com> | 2019-07-18 20:14:44 +0800 |
commit | 5321d7ecb5af3452754e138750a1349432af5b30 (patch) | |
tree | 00184e43d1098071eab597c3d36f8c16bd3579dc | |
parent | 709263c923bd80fb570469d59d967cff0fe14a94 (diff) | |
download | gps-5321d7ecb5af3452754e138750a1349432af5b30.tar.gz |
gps: Fix LPPe config issue
HAL will overwrite MBN LPPe setting at boot.
Temporarily remove LPPe injection as workaround.
Bug: 132048217
Test: Incert VZW SIM, reboot and check NV items.
Change-Id: If5f559d9fcd46074fd06f3ca9c5cfb60eb534bcc
-rw-r--r-- | gnss/GnssAdapter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnss/GnssAdapter.cpp b/gnss/GnssAdapter.cpp index 16d5f9d..532c6b6 100644 --- a/gnss/GnssAdapter.cpp +++ b/gnss/GnssAdapter.cpp @@ -918,6 +918,7 @@ std::vector<LocationError> GnssAdapter::gnssUpdateConfig(const std::string& oldS index++; } + /* Comment out LPPe injection as it's configured by MBN. if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT) { if (gnssConfigNeedEngineUpdate.flags & GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT) { @@ -941,7 +942,7 @@ std::vector<LocationError> GnssAdapter::gnssUpdateConfig(const std::string& oldS } index++; } - + */ if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_AGLONASS_POSITION_PROTOCOL_VALID_BIT) { if (gnssConfigNeedEngineUpdate.flags & |