You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
[android] location tracking is being reset on screen rotation #9186
Follow location using MyLocationTracking#TRACKING_FOLLOW
Rotate device
Expected behavior
Tracking mode is restored.
Actual behavior
Tracking mode is reset to MyLocationTracking#TRACKING_NONE
This happens because even though tracking mode is rightfully restored in TrackingSetting#onRestoreInstanceState(), afterwards MapboxMap#moveCamera() is being posted to the end of the queue and resets tracking mode back to MyLocationTracking#TRACKING_NONE.
changed the title [-][android] location tracking is being reseted on screen rotation[/-][+][android] location tracking is being reset on screen rotation[/+]on Jun 5, 2017
Activity
[android] - keep location tracking mode after screen rotation (mapbox…
[-][android] location tracking is being reseted on screen rotation[/-][+][android] location tracking is being reset on screen rotation[/+][android] - keep location tracking mode after screen rotation (#9187)
Merge release-ios-v3.6.0-android-v5.1.0 (#9416)