2012-10-27, 16:25
Disabling lockscreen in the settings seems to work and looks like an acceptable behaviour to me but people won't know that the music stops because of the yatse lockscreen and may blame other music apps. On the other side the problem only occurs when something is playing/paused on xbmc
Maybe a better solution would be that your app requests the audiofocus and you only apply the lockscreen hack as long as no other app steals the audio focus from yatse. If another app took the audio focus it should show the lockscreen controls of that app and your hack is not necessary
Maybe a better solution would be that your app requests the audiofocus and you only apply the lockscreen hack as long as no other app steals the audio focus from yatse. If another app took the audio focus it should show the lockscreen controls of that app and your hack is not necessary