Skip to content
Permalink
Browse files

Android: Fix back button action in playback OSD Menu

Fixes #13236
  • Loading branch information...
bennettpeter committed Mar 12, 2018
1 parent d5df66a commit 697bf77e8bff888d165d787cfab2d11d8775f694
Showing with 3 additions and 4 deletions.
  1. +3 −4 mythtv/libs/libmythtv/tv_play.cpp
@@ -4031,7 +4031,7 @@ bool TV::ProcessKeypressOrGesture(PlayerContext *actx, QEvent *e)
alreadyTranslatedPlayback = true;

if (handled || actions.isEmpty())
return true;
return handled;

bool esc = has_action("ESCAPE", actions) ||
has_action("BACK", actions);
@@ -4047,13 +4047,12 @@ bool TV::ProcessKeypressOrGesture(PlayerContext *actx, QEvent *e)
{
if (QEvent::KeyPress == e->type())
{
osd->DialogHandleKeypress((QKeyEvent*)e);
handled = osd->DialogHandleKeypress((QKeyEvent*)e);
}
if (MythGestureEvent::kEventType == e->type())
{
osd->DialogHandleGesture((MythGestureEvent*)e);
handled = osd->DialogHandleGesture((MythGestureEvent*)e);
}
handled = true;
}
ReturnOSDLock(actx, osd);

0 comments on commit 697bf77

Please sign in to comment.
You can’t perform that action at this time.