Defer some heavy work from final frame of app -> home transition
- Call reapplyState() on the next frame after settling on home. - Post some calls from RecentsView#reset() to the next frame. - Remove onSwipeUpToRecentsComplete() which only called reapplyState() uncessarily. - Also animate TASK_SECONDARY_TRANSLATION back to 0 to ensure state machine is in sync with long swipe resistance properties. Test: profile swipe to home, significantly reduced last frame time. Bug: 183139317 Change-Id: I37b1829f6f1d5a718e99c131935b87b5200d567f
Loading
Please register or sign in to comment