Skip to content

Commit 41ee85e

Browse files
committed
clear code
1 parent 4b8892d commit 41ee85e

File tree

1 file changed

+2
-7
lines changed
  • play-services-maps/core/hms/src/main/kotlin/org/microg/gms/maps/hms

1 file changed

+2
-7
lines changed

play-services-maps/core/hms/src/main/kotlin/org/microg/gms/maps/hms/GoogleMap.kt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ class GoogleMapImpl(private val context: Context, var options: GoogleMapOptions)
657657
cameraMoveListener = listener
658658
it.setOnCameraMoveListener {
659659
try {
660-
Log.d(TAG, "Listener: onCameraMove: ")
660+
// Log.d(TAG, "Listener: onCameraMove: ")
661661
if (SDK_INT >= 26) {
662662
mapView?.let { it.parent?.onDescendantInvalidated(it, it) }
663663
}
@@ -776,7 +776,7 @@ class GoogleMapImpl(private val context: Context, var options: GoogleMapOptions)
776776
}
777777

778778
map.setOnCameraMoveListener {
779-
Log.d(TAG, "initMap: onCameraMove: ")
779+
// Log.d(TAG, "initMap: onCameraMove: ")
780780
try {
781781
if (SDK_INT >= 26) {
782782
mapView?.let { it.parent?.onDescendantInvalidated(it, it) }
@@ -958,11 +958,6 @@ class GoogleMapImpl(private val context: Context, var options: GoogleMapOptions)
958958
runCallbacks()
959959
}
960960
if (!wasCallbackActive) isInvokingInitializedCallbacks.set(false)
961-
} else if (mapView?.isShown == false) {
962-
runOnMainLooper(forceQueue = true) {
963-
Log.d("$TAG:$tag", "Invoking callback now: map cannot be initialized because it is not shown (yet)")
964-
runCallbacks()
965-
}
966961
} else {
967962
Log.d(
968963
"$TAG:$tag",

0 commit comments

Comments
 (0)