commit | 6d1601a740fdfa9b564651c5fb9ee779db5f1a09 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Apr 15 08:39:50 2021 -0700 |
committer | Lucas Dupin <dupin@google.com> | Thu Apr 15 15:26:32 2021 -0700 |
tree | 7175bd6c5b74607a0ab26a27c36323490c0e7629 | |
parent | 514f8b70d8652122e343c5929d056af11cac878a [diff] |
Move sparkle animation to RenderThread The sparkle loop animation was happening on the UI thread and is poses some interesting challengers: - Animations freezes when UI thread is busy, for example when startActivity is called. - onDraw calls add unnecessary work to the UI thread, leading to jank in some cases, like PIP Test: manual Fixes: 184760248 Change-Id: Ie2840c767da61476678839eaac215dc3aff95b5c