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

Commit 2c5cddbd authored by Deepanshu Gupta's avatar Deepanshu Gupta
Browse files

Don't skip loading object animator.

This is used by Buttons as part of StateListAnimator.

Change-Id: Id370869e71898d46e11bbd17ad31169c9f9f5274
parent 8657baa0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }
}
+1 −0
Original line number Diff line number Diff line
@@ -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);