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

Commit 03b100e1 authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android Git Automerger
Browse files

am 617e8097: Add missing delegate for AnimatorInflater.

* commit '617e8097':
  Add missing delegate for AnimatorInflater.
parents 39ae5dd7 617e8097
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ import android.content.Context;
import android.content.res.Resources;
import android.content.res.Resources.NotFoundException;
import android.content.res.Resources.Theme;
import android.util.AttributeSet;

/**
 * Delegate providing alternate implementation to static methods in {@link AnimatorInflater}.
@@ -48,4 +49,11 @@ public class AnimatorInflater_Delegate {
        // TODO: Remove this override when Path.approximate() is supported.
        return new FakeAnimator();
    }

    @LayoutlibDelegate
    /*package*/ static ValueAnimator loadAnimator(Resources res, Theme theme,
            AttributeSet attrs, ValueAnimator anim, float pathErrorScale)
            throws NotFoundException {
        return anim;
    }
}