commit | 5e58b447b0c19e646d11e0be45983cb71a043fc2 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Wed Apr 24 17:19:07 2019 -0700 |
committer | Tony Wickham <twickham@google.com> | Wed Apr 24 17:19:07 2019 -0700 |
tree | 653ede43cc28bcf527f1f979b71e5bf5420a27f2 | |
parent | b0c81fc031162d163922f7cdcbf2cbcf3de958b5 [diff] |
Call initTransitionEndpoints in constructor Before, the soonest we initTransitionEndpoints() is in onRecentsAnimationStart(), which might be too late if launcher was killed. (In that case, the gesture might end before we ever get onRecentsAnimationStart(), and thus will never consider the distance traveled great enough to trigger recents since we don't have endpoints.) Bug: 129723135 Change-Id: I349f62244aaba8369926b14f90acd994fd40a93a