Merge "Fix nanosleep in BootAnimation" am: 45e281ef2b am: 73357c61d0

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1891586

Change-Id: Ie6a3997d2b2595e408fc32cee45f419db793b616
This commit is contained in:
Keith Mok 2021-11-19 23:12:50 +00:00 committed by Automerger Merge Worker
commit fd42131e14

View File

@ -1577,7 +1577,7 @@ bool BootAnimation::playAnimation(const Animation& animation) {
int err;
do {
err = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &spec, nullptr);
} while (err<0 && errno == EINTR);
} while (err == EINTR);
}
checkExit();