Allow SUPL_MODE of Standalone only

SUPL_MODE being set to standlaone only is
valid and needs to be accepted by HAL.

Bug: 37947277
Change-Id: Ib9d0073c304305f0fafaea1940ce292450eaa9f7
CRs-fixed: 2044643
This commit is contained in:
Dante Russo 2017-05-10 16:49:38 -07:00
parent f4f9b5c5a6
commit c804609595

View file

@ -91,6 +91,9 @@ Return<bool> GnssConfiguration::setSuplMode(uint8_t mode) {
config.size = sizeof(GnssConfig);
config.flags = GNSS_CONFIG_FLAGS_SUPL_MODE_BIT;
switch (mode) {
case 0:
config.suplModeMask = 0; // STANDALONE ONLY
break;
case 1:
config.suplModeMask = GNSS_CONFIG_SUPL_MODE_MSB;
break;