Don't skip loading object animator.

This is used by Buttons as part of StateListAnimator.

Change-Id: Id370869e71898d46e11bbd17ad31169c9f9f5274
This commit is contained in:
Deepanshu Gupta
2014-11-11 15:21:19 +00:00
parent 8657baa06d
commit 2c5cddbd07
2 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,6 @@ public class AnimatorInflater_Delegate {
/*package*/ static ValueAnimator loadAnimator(Resources res, Theme theme,
AttributeSet attrs, ValueAnimator anim, float pathErrorScale)
throws NotFoundException {
return anim;
return AnimatorInflater.loadAnimator_Original(res, theme, attrs, anim, pathErrorScale);
}
}

View File

@ -112,6 +112,7 @@ public class DelegateClassAdapter extends ClassVisitor {
// The implementation of this 'delegate' method is done in layoutlib_bridge.
int accessDelegate = access;
access = access & ~Opcodes.ACC_PRIVATE; // If private, make it package protected.
MethodVisitor mwOriginal = super.visitMethod(access, name + ORIGINAL_SUFFIX,
desc, signature, exceptions);