mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 897274: Hardware search button should initiate a search. [r=margaret]
--HG-- extra : rebase_source : 9e5d575e402c8c9a623add755225e362bde38f8e
This commit is contained in:
parent
ea5e3ce4a0
commit
7fbb3f68ba
@ -581,11 +581,6 @@ public class BrowserToolbar extends GeckoRelativeLayout
|
||||
keyCode == KeyEvent.KEYCODE_VOLUME_UP ||
|
||||
keyCode == KeyEvent.KEYCODE_VOLUME_DOWN) {
|
||||
return false;
|
||||
} else if (keyCode == KeyEvent.KEYCODE_SEARCH) {
|
||||
mUrlEditText.setText("");
|
||||
mUrlEditText.requestFocus();
|
||||
showSoftInput();
|
||||
return true;
|
||||
} else if (isEditing()) {
|
||||
final int prevSelStart = mUrlEditText.getSelectionStart();
|
||||
final int prevSelEnd = mUrlEditText.getSelectionEnd();
|
||||
|
Loading…
Reference in New Issue
Block a user