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

Multi-window support broken #10336

Closed
ivovandongen opened this issue Oct 31, 2017 · 1 comment · Fixed by #10338
Closed

Multi-window support broken #10336

ivovandongen opened this issue Oct 31, 2017 · 1 comment · Fixed by #10338
Labels
Android Mapbox Maps SDK for Android bug

Comments

@ivovandongen
Copy link
Contributor

Platform: Android (Google pixel, Android 8.0.0)
Mapbox SDK version: master

Steps to trigger behavior

  1. Open test activity
  2. initiate multi-window selection (long-press square thingy)

Expected behavior

Multi-window

Actual behavior

Crash:

10-31 19:28:19.499 23891-23891/com.mapbox.mapboxsdk.testapp E/AndroidRuntime: FATAL EXCEPTION: main
                                                                              Process: com.mapbox.mapboxsdk.testapp, PID: 23891
                                                                              java.lang.IllegalArgumentException: Null duration passed into easeCamera
                                                                                  at com.mapbox.mapboxsdk.maps.MapboxMap.easeCamera(MapboxMap.java:839)
                                                                                  at com.mapbox.mapboxsdk.maps.MapboxMap.onRestoreInstanceState(MapboxMap.java:152)
                                                                                  at com.mapbox.mapboxsdk.maps.MapView.initialiseMap(MapView.java:218)
                                                                                  at com.mapbox.mapboxsdk.maps.MapView.access$800(MapView.java:69)
                                                                                  at com.mapbox.mapboxsdk.maps.MapView$5$1.run(MapView.java:300)
                                                                                  at android.os.Handler.handleCallback(Handler.java:789)
                                                                                  at android.os.Handler.dispatchMessage(Handler.java:98)
                                                                                  at android.os.Looper.loop(Looper.java:164)
                                                                                  at android.app.ActivityThread.main(ActivityThread.java:6541)
                                                                                  at java.lang.reflect.Method.invoke(Native Method)
                                                                                  at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
                                                                                  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
@ivovandongen ivovandongen added Android Mapbox Maps SDK for Android bug labels Oct 31, 2017
@tobrun
Copy link
Member

tobrun commented Oct 31, 2017

@osana added this IllegalArgumentException as part of #10321 (as this was stated in the javadoc). I will look into patching this up and write a test for it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants