mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 772449 - Dismiss VKB when up/down arrows are tapped for Find in Page. r=mfinkle
This commit is contained in:
parent
9f5b4e9beb
commit
5a8318b4e0
@ -108,9 +108,11 @@ public class FindInPageBar extends RelativeLayout implements TextWatcher, View.O
|
||||
switch (v.getId()) {
|
||||
case R.id.find_prev:
|
||||
GeckoAppShell.sendEventToGecko(GeckoEvent.createBroadcastEvent("FindInPage:Prev", mFindText.getText().toString()));
|
||||
getInputMethodManager(mFindText).hideSoftInputFromWindow(mFindText.getWindowToken(), 0);
|
||||
break;
|
||||
case R.id.find_next:
|
||||
GeckoAppShell.sendEventToGecko(GeckoEvent.createBroadcastEvent("FindInPage:Next", mFindText.getText().toString()));
|
||||
getInputMethodManager(mFindText).hideSoftInputFromWindow(mFindText.getWindowToken(), 0);
|
||||
break;
|
||||
case R.id.find_close:
|
||||
hide();
|
||||
|
Loading…
Reference in New Issue
Block a user