Add missing delegate for AnimatorInflater.

Change-Id: I96ef2b1085dadfae280df6740aebc10f57e3b949
This commit is contained in:
Deepanshu Gupta
2014-10-28 18:47:28 -07:00
parent 75bf1b1c6a
commit 617e809731

View File

@@ -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;
}
}