commit | 36838469a96b984fa27b61288ca1043b664af370 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Thu Jan 26 17:09:43 2012 -0800 |
committer | Stephen Hines <srhines@google.com> | Thu Jan 26 17:32:09 2012 -0800 |
tree | 915d73c4ab70821515dfe99692ca7aa698252b2f | |
parent | fa54999eb657180fe82b556c75761f37fed599dc [diff] |
Don't wait forever if there are no commands to execute. BUG=5614887 This fixes a timing issue where we could calculate a delay of 0 (indicating wait forever) when we have no pending commands to actually execute. In such cases, we should just break out of the playback loop. This also fixes a small issue with returning whether or not to redraw. Change-Id: Id1e481679341773256b7287062c68925e2bc8f9e