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

Commit 45e281ef authored by Keith Mok's avatar Keith Mok Committed by Gerrit Code Review
Browse files

Merge "Fix nanosleep in BootAnimation"

parents c1e9c53f 0f2e6686
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1348,7 +1348,7 @@ bool BootAnimation::playAnimation(const Animation& animation) {
                    int err;
                    int err;
                    do {
                    do {
                        err = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &spec, nullptr);
                        err = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &spec, nullptr);
                    } while (err<0 && errno == EINTR);
                    } while (err == EINTR);
                }
                }


                checkExit();
                checkExit();