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

Commit 9f6485a4 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Optimize KeybaordView.invalidateAllKeys a bit

Change-Id: I118c792219f649b7297477c78fa725c678650159
parent 77e7532d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -944,6 +944,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
    public void invalidateAllKeys() {
        mDirtyRect.union(0, 0, getWidth(), getHeight());
        mBufferNeedsUpdate = true;
        mInvalidatedKey = null;
        invalidate();
    }