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
public void onDetachedFromWindow() {
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
closing();
if (mPreviewPlacer != null) {

View File

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