Merge "Don't skip loading object animator." into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a44fdb9e21
@ -54,6 +54,6 @@ public class AnimatorInflater_Delegate {
|
|||||||
/*package*/ static ValueAnimator loadAnimator(Resources res, Theme theme,
|
/*package*/ static ValueAnimator loadAnimator(Resources res, Theme theme,
|
||||||
AttributeSet attrs, ValueAnimator anim, float pathErrorScale)
|
AttributeSet attrs, ValueAnimator anim, float pathErrorScale)
|
||||||
throws NotFoundException {
|
throws NotFoundException {
|
||||||
return anim;
|
return AnimatorInflater.loadAnimator_Original(res, theme, attrs, anim, pathErrorScale);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -112,6 +112,7 @@ public class DelegateClassAdapter extends ClassVisitor {
|
|||||||
// The implementation of this 'delegate' method is done in layoutlib_bridge.
|
// The implementation of this 'delegate' method is done in layoutlib_bridge.
|
||||||
|
|
||||||
int accessDelegate = access;
|
int accessDelegate = access;
|
||||||
|
access = access & ~Opcodes.ACC_PRIVATE; // If private, make it package protected.
|
||||||
|
|
||||||
MethodVisitor mwOriginal = super.visitMethod(access, name + ORIGINAL_SUFFIX,
|
MethodVisitor mwOriginal = super.visitMethod(access, name + ORIGINAL_SUFFIX,
|
||||||
desc, signature, exceptions);
|
desc, signature, exceptions);
|
||||||
|
Reference in New Issue
Block a user