Don't intercept key events when the search view in the toolbar is expanded
This commit is contained in:
parent
b05c0ea5c4
commit
54ac569ea9
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ open class MessageList :
|
|||
|
||||
override fun dispatchKeyEvent(event: KeyEvent): Boolean {
|
||||
var eventHandled = false
|
||||
if (KeyEvent.ACTION_DOWN == event.action) {
|
||||
if (event.action == KeyEvent.ACTION_DOWN && searchView.isIconified) {
|
||||
eventHandled = onCustomKeyDown(event)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue