njumzs / mythdroid

Automatically exported from code.google.com/p/mythdroid
0 stars 0 forks source link

Wake on movement suggestion: Enabled only when mythdroid has focus #115

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of MythDroid were you using?
v0.6.2
Which version of MDD?
v0.6.2
Which version of MythTV were you using? (e.g. mythfrontend --version)
v0.25.3-25-g18c793a
What steps will reproduce the problem?
1. Use mythdroid to begin playback of something on the frontend.
2. Hit Home button and then power button to put the screen to sleep.
3. Put phone in pocket.  Then realize that the screen is constantly waking.

What is the expected output? What do you see instead?
I would like to have the "Wake on Movement" option only effective when 
mythdroid has focus in android.  I use mythdroid to control music when I'm 
moving around the house, sometimes that means the phone goes back into my 
pocket.  Another scenario is that I finish using mythdroid, but the wake on 
movement option is still triggering screen wakes.  I have to Force close 
mythdroid to get it to stop.

If you are reporting a 'force close' issue, please attach relevant logs
(e.g. from 'Log Collector', available via the market).

Please provide any additional information below.

Original issue reported on code.google.com by phil.bon...@gmail.com on 24 Apr 2013 at 2:55

GoogleCodeExporter commented 8 years ago
Hi,

We already try to provide the behaviour you're asking for (i.e. we don't wakeup 
on movement if the remote isn't the front-most activity) but it does depend on 
a method introduced in Android 2.1.

If you're running a version of Android >= 2.1, please let us know and we'll 
investigate further. Unfortunately, AFAWK, there isn't a reasonable way of 
addressing this issue in earlier versions of Android (we did try!).

Original comment by foobum on 12 May 2013 at 10:35

GoogleCodeExporter commented 8 years ago
Oops.. The code I referred to was introduced post 0.6.2 release so the correct 
response should have been:

"We've fixed this - it'll be in 0.6.3"

Apologies

Original comment by foobum on 13 May 2013 at 12:01

GoogleCodeExporter commented 8 years ago
I've updated to v0.6.3 of mythdroid. Wake on Movement now works as expected.

Thank you.

Original comment by phil.bon...@gmail.com on 13 May 2013 at 3:30

GoogleCodeExporter commented 8 years ago

Original comment by foobum on 13 May 2013 at 3:51