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

Commit bc896be5 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android (Google) Code Review
Browse files

Merge "NumberPicker not redrawn when current value is changed via an IME."

parents e267f5f2 fac14f97
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -1098,12 +1098,7 @@ public class NumberPicker extends LinearLayout {
     * @see #setMaxValue(int)
     */
    public void setValue(int value) {
        if (mValue == value) {
            return;
        }
        setValueInternal(value, false);
        initializeSelectorWheelIndices();
        invalidate();
    }

    /**
@@ -1500,6 +1495,8 @@ public class NumberPicker extends LinearLayout {
        if (notifyChange) {
            notifyChange(previous, current);
        }
        initializeSelectorWheelIndices();
        invalidate();
    }

    /**