Fix play-pause after re-opening audioplayer

This commit is contained in:
Martin Fietz 2016-03-01 11:40:32 +01:00
parent c50c57ba45
commit 795416d44f
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