commit | 45e281ef2b51233cdafbb68da05f36abb8193a43 | [log] [tgz] |
---|---|---|
author | Keith Mok <keithmok@google.com> | Fri Nov 19 22:37:57 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Nov 19 22:37:57 2021 +0000 |
tree | 9af317bb19e13ce31e83a5f9855b31cc7564905c | |
parent | c1e9c53fc3fc257484cb360fd9085724c3087d4f [diff] | |
parent | 0f2e66866c18ff581fc0e9225bdac67509c68658 [diff] |
Merge "Fix nanosleep in BootAnimation"
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 3109c5c..6b8a775 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp
@@ -1348,7 +1348,7 @@ int err; do { err = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &spec, nullptr); - } while (err<0 && errno == EINTR); + } while (err == EINTR); } checkExit();