mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 708626 - Pressing physical volume button dismisses keyboard, doesn't adjust ringer volume. r=blassey
This commit is contained in:
parent
45769c3f0c
commit
e752dcc4a9
@ -306,7 +306,9 @@ public class AwesomeBar extends Activity implements GeckoEventListener {
|
||||
keyCode == KeyEvent.KEYCODE_DPAD_LEFT ||
|
||||
keyCode == KeyEvent.KEYCODE_DPAD_RIGHT ||
|
||||
keyCode == KeyEvent.KEYCODE_DPAD_CENTER ||
|
||||
keyCode == KeyEvent.KEYCODE_DEL) {
|
||||
keyCode == KeyEvent.KEYCODE_DEL ||
|
||||
keyCode == KeyEvent.KEYCODE_VOLUME_UP ||
|
||||
keyCode == KeyEvent.KEYCODE_VOLUME_DOWN) {
|
||||
return super.onKeyDown(keyCode, event);
|
||||
} else {
|
||||
int selStart = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user