mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-08-07 14:32:34 +02:00
Mapbox: Fix crash when destroying maps
'setLocationSource' may be called with a null parameter: E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter locationSource E AndroidRuntime: at org.microg.gms.maps.mapbox.GoogleMapImpl.setLocationSource(Unknown Source:2)
This commit is contained in:
parent
fed85b1ca4
commit
5b06366cd5
@ -402,7 +402,7 @@ class GoogleMapImpl(private val context: Context, var options: GoogleMapOptions)
|
||||
return null
|
||||
}
|
||||
|
||||
override fun setLocationSource(locationSource: ILocationSourceDelegate) {
|
||||
override fun setLocationSource(locationSource: ILocationSourceDelegate?) {
|
||||
Log.d(TAG, "unimplemented Method: setLocationSource")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user