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

Commit 040b442f authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android Git Automerger
Browse files

am 18e21d58: Remove closing method from KeyboardView

* commit '18e21d58':
  Remove closing method from KeyboardView
parents abaa88fd 18e21d58
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -635,15 +635,9 @@ public class KeyboardView extends View {
        invalidate(x, y, x + key.mWidth, y + key.mHeight);
    }

    // TODO: Remove this method.
    public void closing() {
        mInvalidateAllKeys = true;
    }

    @Override
    protected void onDetachedFromWindow() {
        super.onDetachedFromWindow();
        closing();
        freeOffscreenBuffer();
    }
}
+0 −2
Original line number Diff line number Diff line
@@ -1236,13 +1236,11 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
        mDrawingHandler.cancelAllMessages();
    }

    @Override
    public void closing() {
        dismissAllKeyPreviews();
        cancelAllMessages();
        onDismissMoreKeysPanel();
        mMoreKeysKeyboardCache.clear();
        super.closing();
    }

    /**
+0 −1
Original line number Diff line number Diff line
@@ -174,7 +174,6 @@ public class MoreKeysKeyboardView extends KeyboardView implements MoreKeysPanel

    @Override
    public boolean dismissMoreKeysPanel() {
        super.closing();
        if (mController == null) return false;
        return mController.onDismissMoreKeysPanel();
    }