View Issue Details

IDProjectCategoryView StatusLast Update
0011033MMAGeneralpublic2013-10-09 15:56
Reporterrusty Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.4 
Target Version1.0.4Fixed in Version1.0.4 
Summary0011033: Lock screen activates when it shouldn't
DescriptionThe Lock screen player is only supposed to activate when MMA is active. However, there are situations in which it activates even after the MMA termination timer has expired.

This occurs because although the 'home' key activates the termination timer, and backing out of the app causes MMA to terminate, pressing the 'power' button when MMA isn't playing doesn't trigger the termination timer, which results in the Lock screen activating in situations where MMA isn't being used and the device has been inactive for a long period of time.

To replicate:
1 Get the lock screen player working
2 Set the MM termination timer to 10 seconds
3 Immediately press the power button 2x
--> Lock screen player appears as expected
4 Run MMA
5 Press Pause
6 Press power button once and wait 10 seconds for MMA to terminate
7 Press power button again
--> Lock screen player appears even though it shouldn't!!


Possible solutions:
1) Trigger the termination timer if MMA is paused and the user presses the power button. Probably not a desirable solution.
2) Prevent the Lock screen player from activating in cases where the termination timer has expired (even if MMA hasn't yet been terminated).

Other ideas?
TagsNo tags attached.
Fixed in build169

Relationships

related to 0010153 closedmartin Ability to control playback on pre-4.2 phones that screen lock active 
related to 0010985 closedmartin Lock screen doesn't activate using 'home button' (regression in 145--it fails completely) 

Activities

martin

2013-07-04 09:51

developer   ~0036731

Fixed in build 149.

rusty

2013-07-12 16:15

administrator   ~0036839

Verified 149.

Note: if the user disconnects a headset while the timer is in progress, and then reconnects the headset after the termination timer has expired, the lockscreen may appear, but such issues are covered at 0010985 (and it's doubtful that this is even a bug).

rusty

2013-10-04 16:21

administrator   ~0037755

Last edited: 2013-10-04 16:21

As reported at http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=73806 (and confirmed by me using build 167 on a GS3), there seems to be a regression with this functionality:

1 initiate playback and then waits for the screen to turn off
--> when the user presses 'Power' MMA Lock Screen Player appears as expected
2 press 'Pause' on the lock screen, then waits for the screen to turn off
3 wait for an amount of time longer than the notifications timer (e.g. 5 minutes), and then press 'Power'
--> lock screen player appears!

It shouldn't appear if the timer has expired and there's no bluetooth/headset connection.

Could it be that 0010985 isn't fully fixed, and that in cases where the PlayerService is active (Paused) while the lock screen is active, MMA isn't terminating the timer?

martin

2013-10-08 15:20

developer   ~0037804

Fixed in build 169.

rusty

2013-10-09 15:56

administrator   ~0037822

Verified 169.