commit | 5cfcf44e13d548b633e71f76e989b0202c5e62da | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Mon Jan 10 15:21:07 2022 -0800 |
committer | Lucas Dupin <dupin@google.com> | Mon Jan 10 15:37:01 2022 -0800 |
tree | cd01ab1481dacefb3e7f1caf6adfc4405144c18c | |
parent | cd88027c3eb12baaefbee93b95f088d2611e18e4 [diff] |
Only execute relayout after animation is over After the keyguard dismissal animation is over, there will be an expensive frame where a relayout is needed. This relayout should only happen after processing the whole animation, otherwise there will be jank. In order to do so, we'll post onKeyguardExitFinished() and related methods to the next frame. Test: atest KeyguardViewMediator Test: perfetto trace Fixes: 210434695 Change-Id: Ic2387474e095189ed2e23b177c243247af2198bf