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

Commit f9b7faee authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 6503 into donut

* changes:
  Hide soft keyboard in SearchDialog.dismiss()
parents b799616d ec8ee34e
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();
    }
    
    /**