Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to remove callback when user disconnects from WiFi #39

Open
ReyhanJB opened this issue Jan 18, 2017 · 1 comment
Open

Failing to remove callback when user disconnects from WiFi #39

ReyhanJB opened this issue Jan 18, 2017 · 1 comment

Comments

@ReyhanJB
Copy link

What steps will reproduce the problem?
In the setting, enable wifi only mode. Create a playlist with several musics. Start the playlist. When the first song is playing, disable WiFi.

What is the expected output? What do you see instead?
Jamendo keeps running in the background (It does not play any song, but keeps running in background) and does not remove the callback that is responsible to track the music play progress.

Please provide any additional information below
In the "PlayerEngineImpl.java" class, "mHandler" is responsible to run "mUpdateTimeTask" periodically (every one second). It seems that mHandler will be remove when the player is not playing. However, it seems that disconnecting from internet does not impact the playing status of the playlist. To ensure the callback is still executed in background, I added a log file in the method "run()" of "mUpdateTimeTask". After reproducing the issue, I can see that the log appears in the logcat every second.

@kekkyojin
Copy link

Teleca stopped development from this unofficial client for Jamendo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants