commit | 5fc80e7b32a00b4e43b4ce13d60bd82796130182 | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Thu Apr 30 12:14:35 2020 -0700 |
committer | chaviw <chaviw@google.com> | Thu Apr 30 14:38:52 2020 -0700 |
tree | b55f655f1a74a0a0bb995a5487a48f27815c050a | |
parent | 8e47f58e6bbeaa3f3f75d88562e7849202beea51 [diff] |
Send drawFinish callback even if did not draw There are cases where ViewRootImpl requests to draw, but there was nothing new to draw. In that case, the callback will never be invoked and ViewRootImpl will wait forever. This change will invoke the callback even if there is nothing to draw. It will use the last frameNumber since nothing new has drawn Test: Request draw with nothing new. Callback is invoked Fixes: 155429223 Change-Id: I7c9ed7fd63a451b17133a11ffbcf8fb64be558e5