Merge "Reuse keyboard view's drawing bitmap if possible" into honeycomb

main
Ken Wakasa 2011-01-27 23:43:02 -08:00 committed by Android (Google) Code Review
commit 063a98a7b2
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(); mHandler.cancelAllMessages();
dismissPopupKeyboard(); dismissPopupKeyboard();
mBuffer = null; mDirtyRect.union(0, 0, getWidth(), getHeight());
mCanvas = null;
mMiniKeyboardCache.clear(); mMiniKeyboardCache.clear();
requestLayout(); requestLayout();
} }