Loading play-services-maps-core-mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/LiteGoogleMap.kt +2 −2 Original line number Diff line number Diff line Loading @@ -210,7 +210,7 @@ class LiteGoogleMapImpl(context: Context, var options: GoogleMapOptions) : Abstr if (savedInstanceState?.containsKey(BUNDLE_CAMERA_POSITION) == true) { cameraPosition = savedInstanceState.getParcelable(BUNDLE_CAMERA_POSITION)!! cameraBounds = savedInstanceState.getParcelable(BUNDLE_CAMERA_BOUNDS) cameraBounds = (savedInstanceState.getParcelable(BUNDLE_CAMERA_BOUNDS) as LatLngBounds?)?.toMapbox() } postUpdateSnapshot() Loading Loading @@ -616,7 +616,7 @@ class LiteGoogleMapImpl(context: Context, var options: GoogleMapOptions) : Abstr override fun onSaveInstanceState(outState: Bundle) { outState.putParcelable(BUNDLE_CAMERA_POSITION, cameraPosition) outState.putParcelable(BUNDLE_CAMERA_BOUNDS, cameraBounds) outState.putParcelable(BUNDLE_CAMERA_BOUNDS, cameraBounds?.toGms()) } override fun setContentDescription(desc: String?) { Loading Loading
play-services-maps-core-mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/LiteGoogleMap.kt +2 −2 Original line number Diff line number Diff line Loading @@ -210,7 +210,7 @@ class LiteGoogleMapImpl(context: Context, var options: GoogleMapOptions) : Abstr if (savedInstanceState?.containsKey(BUNDLE_CAMERA_POSITION) == true) { cameraPosition = savedInstanceState.getParcelable(BUNDLE_CAMERA_POSITION)!! cameraBounds = savedInstanceState.getParcelable(BUNDLE_CAMERA_BOUNDS) cameraBounds = (savedInstanceState.getParcelable(BUNDLE_CAMERA_BOUNDS) as LatLngBounds?)?.toMapbox() } postUpdateSnapshot() Loading Loading @@ -616,7 +616,7 @@ class LiteGoogleMapImpl(context: Context, var options: GoogleMapOptions) : Abstr override fun onSaveInstanceState(outState: Bundle) { outState.putParcelable(BUNDLE_CAMERA_POSITION, cameraPosition) outState.putParcelable(BUNDLE_CAMERA_BOUNDS, cameraBounds) outState.putParcelable(BUNDLE_CAMERA_BOUNDS, cameraBounds?.toGms()) } override fun setContentDescription(desc: String?) { Loading