Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2d49e12 authored by Yu-Han Yang's avatar Yu-Han Yang
Browse files

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
parent 036e0e50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment