Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 957eb1d9 authored by Karl Rosaen's avatar Karl Rosaen
Browse files

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.
parent fa8904a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;