Apply PendingAnimation#mDuration to all added anims
Doing this at the root instead of individually for all added animators ensures none fall through the cracks. Fixes: shelf moving too quickly in 2 button mode Change-Id: I0de1ba9cee3fb8f1d6161371625d97e4b2305129
This commit is contained in:
1 parent
db087d3c98
commit
fe54c36822
4 files changed
+6
-8
No files matched your search
@@ -1342,7 +1342,6 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
|
||||
ValueAnimator stepAnimator = ValueAnimator.ofFloat(0, 1);
|
||||
stepAnimator.addUpdateListener(listener);
|
||||
stepAnimator.setDuration(config.duration);
|
||||
stepAnimator.addListener(listener);
|
||||
animation.add(stepAnimator);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user