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

Commit eeb55e67 authored by Romain Guy's avatar Romain Guy Committed by Romain Guy
Browse files

Don't reset ListView when changing the divider drawable.

Bug #3245172

Change-Id: I36e20bc63e503ffff9c2354e7cc48e5574bb0c4a
parent 7d695945
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -3196,7 +3196,8 @@ public class ListView extends AbsListView {
        }
        mDivider = divider;
        mDividerIsOpaque = divider == null || divider.getOpacity() == PixelFormat.OPAQUE;
        requestLayoutIfNecessary();
        requestLayout();
        invalidate();
    }

    /**
@@ -3214,7 +3215,8 @@ public class ListView extends AbsListView {
     */
    public void setDividerHeight(int height) {
        mDividerHeight = height;
        requestLayoutIfNecessary();
        requestLayout();
        invalidate();
    }

    /**