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

Commit fd135bc8 authored by Travis Geiselbrecht's avatar Travis Geiselbrecht Committed by Android Git Automerger
Browse files

am f4b6628e: BootAnimation: fix bug to delay the appropriate amount of time per frame

* commit 'f4b6628e':
  BootAnimation: fix bug to delay the appropriate amount of time per frame
parents 4961295d f4b6628e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -509,7 +509,7 @@ bool BootAnimation::movie()
                nsecs_t now = systemTime();
                nsecs_t delay = frameDuration - (now - lastFrame);
                lastFrame = now;
                long wait = ns2us(frameDuration);
                long wait = ns2us(delay);
                if (wait > 0)
                    usleep(wait);
            }