diff options
| author | 2021-11-19 22:54:54 +0000 | |
|---|---|---|
| committer | 2021-11-19 22:54:54 +0000 | |
| commit | 73357c61d0633db6e9ba91be38ed883c1094ed74 (patch) | |
| tree | 670e3b80b1b514e2ed5577663ddc4001e8ef63fa /cmds/bootanimation/BootAnimation.cpp | |
| parent | 2d2bd5fcf816dd340e12cde4de507a128e91aec2 (diff) | |
| parent | 45e281ef2b51233cdafbb68da05f36abb8193a43 (diff) | |
Merge "Fix nanosleep in BootAnimation" am: 45e281ef2b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1891586
Change-Id: I19f359a175aa9596f400481029c029c2dd908aa5
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
| -rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 6c8cab7783b6..30a8a8e72437 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -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(); |