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

Commit 20a4c707 authored by lijilou's avatar lijilou
Browse files

Fix typo:register -> unregister.

Bug: none
Flag: EXEMPT minor optimization
Change-Id: Ibab27c4a7640f00a0e9b381d38b3db600f4277ea
parent ac2f2dc2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ public class PointerEventDispatcher extends InputEventReceiver {
    public void unregisterInputEventListener(PointerEventListener listener) {
        synchronized (mListeners) {
            if (!mListeners.contains(listener)) {
                throw new IllegalStateException("registerInputEventListener: " + listener +
                throw new IllegalStateException("unregisterInputEventListener: " + listener +
                        " not registered.");
            }
            mListeners.remove(listener);