diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-09 00:29:38 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-09 00:29:38 -0700 |
commit | f9b7faee88313c4daf3e3fb34203978de20b7ce0 (patch) | |
tree | 5b1683f8a41d74db2555ea0c276ed8e65e1bf858 | |
parent | b799616d8f0f94e866767fa730f56d82543fb49b (diff) | |
parent | ec8ee34e06f7d3f55f284da48585a8eecaa9b4b4 (diff) | |
download | frameworks_base-f9b7faee88313c4daf3e3fb34203978de20b7ce0.zip frameworks_base-f9b7faee88313c4daf3e3fb34203978de20b7ce0.tar.gz frameworks_base-f9b7faee88313c4daf3e3fb34203978de20b7ce0.tar.bz2 |
Merge change 6503 into donut
* changes:
Hide soft keyboard in SearchDialog.dismiss()
-rw-r--r-- | core/java/android/app/SearchDialog.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/app/SearchDialog.java b/core/java/android/app/SearchDialog.java index 022a9d9..6d6aca4 100644 --- a/core/java/android/app/SearchDialog.java +++ b/core/java/android/app/SearchDialog.java @@ -991,7 +991,7 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS }; @Override - public void cancel() { + public void dismiss() { if (!isShowing()) return; // 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); } - super.cancel(); + super.dismiss(); } /** |