Merge pull request #1725 from mfietz/issue/1724-play-pause

Fix play-pause after re-opening audioplayer
This commit is contained in:
Tom Hennen 2016-03-01 17:33:27 -05:00
commit a241c7aadc
1 changed files with 3 additions and 0 deletions

View File

@ -247,6 +247,9 @@ public abstract class MediaplayerActivity extends AppCompatActivity implements O
controller.release();
}
controller = newPlaybackController();
if(butPlay != null) {
butPlay.setOnClickListener(controller.newOnPlayButtonClickListener());
}
}
@Override