dineflan / pandoroid

Automatically exported from code.google.com/p/pandoroid
GNU General Public License v2.0
0 stars 0 forks source link

Force-close when banning song #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the app and start a station.
2. While the song is playing exit to the homescreen
3. Resume the app and ban a song

What is the expected output? What do you see instead?

What version of the app are you using? On what device and ROM?

Please provide any additional information below.

If the app is resumed after exiting,  PreferenceManager prefs becomes null. The 
force close is caused by trying to check the "behave_nextOnBan" in the null 
prefs variable.

Re-instantiating the prefs variable in the onResume method of PandoidPlayer 
seems to fix it 

Original issue reported on code.google.com by putnam...@gmail.com on 11 Oct 2011 at 4:24