Merge change 6503 into donut

* changes:
  Hide soft keyboard in SearchDialog.dismiss()
This commit is contained in:
Android (Google) Code Review
2009-07-09 00:29:38 -07:00

View File

@@ -991,7 +991,7 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS
}; };
@Override @Override
public void cancel() { public void dismiss() {
if (!isShowing()) return; if (!isShowing()) return;
// We made sure the IME was displayed, so also make sure it is closed // We made sure the IME was displayed, so also make sure it is closed
@@ -1003,7 +1003,7 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS
getWindow().getDecorView().getWindowToken(), 0); getWindow().getDecorView().getWindowToken(), 0);
} }
super.cancel(); super.dismiss();
} }
/** /**