Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 4439b84f authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

Maps: Limit FPS for location dot animations

Reduces idle CPU usage
parent bca01d01
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -757,6 +757,7 @@ class GoogleMapImpl(context: Context, var options: GoogleMapOptions) : AbstractG
                            .build())
                    cameraMode = CameraMode.NONE
                    renderMode = RenderMode.COMPASS
                    setMaxAnimationFps(2)
                }

                synchronized(mapLock) {