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

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

Merge "NumberPicker should not play initial animation while in edit mode"

parents 5d3aa2c5 4fd9dae6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -583,7 +583,7 @@ public class NumberPicker extends LinearLayout {
        updateInputTextView();
        updateIncrementAndDecrementButtonsVisibilityState();

        if (mFlingable) {
        if (mFlingable && !isInEditMode()) {
            // Start with shown selector wheel and hidden controls. When made
            // visible hide the selector and fade-in the controls to suggest
            // fling interaction.
@@ -1056,7 +1056,7 @@ public class NumberPicker extends LinearLayout {
        super.onAttachedToWindow();
        // make sure we show the controls only the very
        // first time the user sees this widget
        if (mFlingable) {
        if (mFlingable && !isInEditMode()) {
            // animate a bit slower the very first time
            showInputControls(mShowInputControlsAnimimationDuration * 2);
        }