Call stopNavigating in restartLocationRequest
Previously, restartLocationRequest() resets mStarted without resetting other fields. One bug is that setPositionMode() would not be called if mLastPositionMode is non-null, when HAL crashes and restarts. This results in chipset generating 1Hz gps locations when the existing request has >1s interval. Bug: 419597768 Test: on device Flag: android.location.flags.fix_no_set_position_mode_when_hal_restarts Change-Id: Ibacc052edd72d83b2aeca4675f028415b211692a
Loading
Please register or sign in to comment