abhinavkapoor / beginning-android-games

Automatically exported from code.google.com/p/beginning-android-games
0 stars 0 forks source link

[Chapter 5] mediaPlayer.pause() missing from AndroidMusic.java #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The implementation of the mediaPlayer.pause() in the beginning of chapter 5 is 
missing from the book. The downloadable source code is ok, though.

Here is the method:

@Override
    public void pause() {
        if (mediaPlayer.isPlaying())
            mediaPlayer.pause();
    }

Original issue reported on code.google.com by anap...@gmail.com on 12 Jul 2011 at 8:43

GoogleCodeExporter commented 9 years ago
Thanks for catching that.

Original comment by badlogicgames on 24 Aug 2011 at 4:09

GoogleCodeExporter commented 9 years ago
Fixed in second revision!

Original comment by badlogicgames on 6 Sep 2011 at 1:37