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

Commit f0257c59 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am b387571c: am ca6de93a: Merge "Fix number counter will keep going after window losed focus."

Merge commit 'b387571c'

* commit 'b387571c':
  Fix number counter will keep going after window losed focus.
parents 547705d3 b387571c
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -85,4 +85,12 @@ class NumberPickerButton extends ImageButton {
            mNumberPicker.cancelDecrement();
        }
    }

    public void onWindowFocusChanged(boolean hasWindowFocus) {
        super.onWindowFocusChanged(hasWindowFocus);
        if (!hasWindowFocus) {
            cancelLongpress();
        }
    }

}