diff options
| author | 2009-07-14 13:51:16 -0700 | |
|---|---|---|
| committer | 2009-07-14 16:02:38 -0700 | |
| commit | 957eb1d975c89cf21fdea1796a89960ad28f63d2 (patch) | |
| tree | 9d207569286ab5336af62c84c0b8d843482f7730 | |
| parent | fa8904a683903524ed9749f296e80381e5820178 (diff) | |
Run the search dialog at THREAD_PRIORITY_DEFAULT instead of THREAD_PRIORITY_FOREGROUND.
When running at forground priority, the search dialog seems to starve the soft keyboard, leading
to unresponsiveness.
| -rw-r--r-- | core/java/android/server/search/SearchDialogWrapper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/server/search/SearchDialogWrapper.java b/core/java/android/server/search/SearchDialogWrapper.java index 67be6a663514..70c7d7313bae 100644 --- a/core/java/android/server/search/SearchDialogWrapper.java +++ b/core/java/android/server/search/SearchDialogWrapper.java @@ -49,7 +49,7 @@ implements DialogInterface.OnCancelListener, DialogInterface.OnDismissListener { private static final String SEARCH_UI_THREAD_NAME = "SearchDialog"; private static final int SEARCH_UI_THREAD_PRIORITY = - android.os.Process.THREAD_PRIORITY_FOREGROUND; + android.os.Process.THREAD_PRIORITY_DEFAULT; // Takes no arguments private static final int MSG_INIT = 0; |