Fix onDeatchedFromWindow to protected

Change-Id: Ief666554ffd405a43363e66ea2bc2d87aa76a882
This commit is contained in:
Tadashi G. Takaoka 2011-09-27 15:18:02 +09:00
parent 17fbdbc261
commit 73cd4c1428
2 changed files with 2 additions and 2 deletions

View file

@ -968,7 +968,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
} }
@Override @Override
public void onDetachedFromWindow() { protected void onDetachedFromWindow() {
super.onDetachedFromWindow(); super.onDetachedFromWindow();
closing(); closing();
if (mPreviewPlacer != null) { if (mPreviewPlacer != null) {

View file

@ -862,7 +862,7 @@ public class SuggestionsView extends RelativeLayout implements OnClickListener,
} }
@Override @Override
public void onDetachedFromWindow() { protected void onDetachedFromWindow() {
super.onDetachedFromWindow(); super.onDetachedFromWindow();
mHandler.cancelAllMessages(); mHandler.cancelAllMessages();
hidePreview(); hidePreview();