Merge "Fix nanosleep in BootAnimation"

This commit is contained in:
Keith Mok
2021-11-19 22:37:57 +00:00
committed by Gerrit Code Review

View File

@@ -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();