Merge change 6503 into donut
* changes: Hide soft keyboard in SearchDialog.dismiss()
This commit is contained in:
@@ -991,7 +991,7 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS
|
|||||||
};
|
};
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void cancel() {
|
public void dismiss() {
|
||||||
if (!isShowing()) return;
|
if (!isShowing()) return;
|
||||||
|
|
||||||
// We made sure the IME was displayed, so also make sure it is closed
|
// 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);
|
getWindow().getDecorView().getWindowToken(), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
super.cancel();
|
super.dismiss();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user