Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[android] Dismiss tracking on gesture settings not preserved on config change #6567

Closed

Description

@clydebarrow

Platform:Android
Mapbox SDK version:4.2.0-SNAPSHOT

Steps to trigger behaviour

  1.            `trackingSettings.setDismissLocationTrackingOnGesture(false);`
    
  2.                `trackingSettings.setMyLocationTrackingMode(MyLocationTracking.TRACKING_FOLLOW);`
    
  3. Rotate device to trigger configuration change
  4. Attempt scroll gesture

Expected behaviour

Tracking continues, scroll gesture ignored.

Actual behaviour

Tracking is disabled and scroll occurs.

The necessary saving/restoring of these flags is not being performed in MapView#onSaveInstanceState() et. al.

The same applies to the corresponding bearing tracking settings.

Activity

  1. added
    Android
    on Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Androidbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions