Reuse keyboard view's drawing bitmap if possible

bug: 3398660
Change-Id: I0c7f7c084904990563ac62b5d9cf829f86855661
main
Ken Wakasa 2011-01-28 16:33:34 +09:00
parent c768bcf92f
commit 566630147d
1 changed files with 1 additions and 2 deletions

View File

@ -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();
}