am 040b442f: am 18e21d58: Remove closing method from KeyboardView
* commit '040b442f3cd4c0a212ef7e2ec0c55541b67ec7ce': Remove closing method from KeyboardViewmain
commit
053ef607fb
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue