commit | 0129bea64b710ea90ade9e69ac11674b4c5739e3 | [log] [tgz] |
---|---|---|
author | Yu-Han Yang <yuhany@google.com> | Wed Nov 22 17:32:19 2023 +0000 |
committer | Yu-Han Yang <yuhany@google.com> | Tue Nov 28 04:24:06 2023 +0000 |
tree | 060aca442ef5cf4ec1db36331d8953a71b9f1e38 | |
parent | a8bb7bf39b344217cf92bd461647d2f7d0350620 [diff] |
Call stop() before calling setPositionMode() start() uses the parameters from last setPositionMode() call, so calling setPositionMode() during a navigation session has no effect. We must call stop() before calling setPositionMode() to make it effective. Bug: 306874828 Test: atest GnssLocationProviderTest Change-Id: I2eff4f15f8a0517ffdabcda2fa806322d6bc131c