Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9e4a5c2 authored by Chet Haase's avatar Chet Haase
Browse files

Use same default duration (300) for animator resources as for other animators

Issue #7492926 Animator resources should use same default duration as code-created Animators

Change-Id: I337a2c37ff26ebb6cb8b2fb2b58523c464af518b
parent 36818c41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -185,7 +185,7 @@ public class AnimatorInflater {
        TypedArray a =
                context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.Animator);

        long duration = a.getInt(com.android.internal.R.styleable.Animator_duration, 0);
        long duration = a.getInt(com.android.internal.R.styleable.Animator_duration, 300);

        long startDelay = a.getInt(com.android.internal.R.styleable.Animator_startOffset, 0);