commit | e3f9cc67617ee55635c946efcff10fd920029b41 | [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 | f0ccdb1cc8cf7221c72182dd1936d89976ef6a76 | |
parent | 109116bb2f751d84a9ce89ac40c45e76c0aa462c [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