Merge "Don't skip loading object animator." into lmp-dev

This commit is contained in:
Deepanshu Gupta
2014-11-11 17:11:22 +00:00
committed by Android (Google) Code Review
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);