Try putting your code to stop the playing inside onPause()
instead of onDestroy()
like so:
@Override
public void onPause() {
super.onPause();
sp.stop(jump);
sp.release();
}
It's quite possible that the activity is not yet destroyed and just sent to the background, so onDestroy()
is not yet called even if you "close" the app.