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

Commit 4da46302 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Delegated implementation of Drawable#jumpToCurrentState"

parents d5d07c8d 6b8e9444
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -363,6 +363,13 @@ public abstract class DrawableWrapper extends Drawable implements Drawable.Callb
        return false;
    }

    @Override
    public void jumpToCurrentState() {
        if (mDrawable != null) {
            mDrawable.jumpToCurrentState();
        }
    }

    @Override
    protected boolean onLevelChange(int level) {
        return mDrawable != null && mDrawable.setLevel(level);