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

Commit c97b922a authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Fix setting hotspot bounds in a drawable container" into mnc-dev

parents 444eda08 27cf8693
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -295,9 +295,9 @@ public class DrawableContainer extends Drawable implements Drawable.Callback {
    @Override
    public void setHotspotBounds(int left, int top, int right, int bottom) {
        if (mHotspotBounds == null) {
            mHotspotBounds = new Rect(left, top, bottom, right);
            mHotspotBounds = new Rect(left, top, right, bottom);
        } else {
            mHotspotBounds.set(left, top, bottom, right);
            mHotspotBounds.set(left, top, right, bottom);
        }

        if (mCurrDrawable != null) {