commit | 6d5c801c78093cf9ae70139c4e2a2737efbf2359 | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Fri Feb 28 01:40:27 2020 +0100 |
committer | Jorim Jaggi <jjaggi@google.com> | Wed Mar 11 22:58:59 2020 +0100 |
tree | 1d899ad33f03fe8879f6d90917690a5026078b6a | |
parent | dd3768ed8c2eec2e315e3386f7d75cb9ae8bcdad [diff] |
Use separate thread if app doesn't listen to animations There is no need to introduce jank risk and run the inset animations on the main thread if the app doesn't listen to animation events. In that case, move the animations onto a separate thread. Bug: 118118435 Test: Inspect systrace Change-Id: Ib6e4b4ce8e9dd8e27761ced6eb8d7700b6236a32