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

Commit 0cdf4e11 authored by Dan Albert's avatar Dan Albert Committed by Gerrit Code Review
Browse files

Merge "Fix setting hotspot bounds in a drawable container"

parents 798cdaeb 859df3b7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -291,9 +291,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) {