Reuse keyboard view's drawing bitmap if possible
bug: 3398660 Change-Id: I0c7f7c084904990563ac62b5d9cf829f86855661
This commit is contained in:
parent
c768bcf92f
commit
566630147d
1 changed files with 1 additions and 2 deletions
|
@ -1374,8 +1374,7 @@ public class KeyboardView extends View implements PointerTracker.UIProxy {
|
|||
mHandler.cancelAllMessages();
|
||||
|
||||
dismissPopupKeyboard();
|
||||
mBuffer = null;
|
||||
mCanvas = null;
|
||||
mDirtyRect.union(0, 0, getWidth(), getHeight());
|
||||
mMiniKeyboardCache.clear();
|
||||
requestLayout();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue