зеркало из https://github.com/mozilla/gecko-dev.git
Bug 708626 - Pressing physical volume button dismisses keyboard, doesn't adjust ringer volume. r=blassey
This commit is contained in:
Родитель
1ce6634809
Коммит
30161e293b
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче