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:
parent
f4f9b5c5a6
commit
c804609595
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue