mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-28 06:03:00 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue