Merge "Fix onDeatchedFromWindow to protected"

main
Tadashi G. Takaoka 2011-09-26 23:27:14 -07:00 committed by Android (Google) Code Review
commit e4ff4d6b1c
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();