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

Commit bda4584b authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am f9b7faee: Merge change 6503 into donut

Merge commit 'f9b7faee'

* commit 'f9b7faee':
  Hide soft keyboard in SearchDialog.dismiss()
parents 5e7e8da0 f9b7faee
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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();
    }
    
    /**