[mythtv-commits] Ticket #13444: Android recover from long sleep

MythTV noreply at mythtv.org
Thu Apr 18 08:26:31 UTC 2019


#13444: Android recover from long sleep
----------------------------------+------------------------------
 Reporter:  mspieth               |          Owner:  Mark Spieth
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  needs_triage
Component:  Ports - Android       |        Version:  Master Head
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+------------------------------

Comment (by mspieth):

 Replying to [comment:7 gigem]:
 > Added a new patch to automatically pause and set a bookmark when
 suspending and undo them when resuming.

 Do you have to set background_running in the manifest too?

 Otherwise LGTM with the above true.

 The other way to do it would be to add a listener for
 ApplicationStateChanged in the tv class. While sendEvent QAPP_SUSPEND is
 synchronous, it does go through the dispatcher on the main QT thread. If
 this is already stopped in no background_running mode, then this may break
 the handling of QAPP_SUSPEND until the app goes back into foreground.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13444#comment:8>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list