Merge pull request #1725 from mfietz/issue/1724-play-pause
Fix play-pause after re-opening audioplayer
This commit is contained in:
commit
a241c7aadc
|
@ -247,6 +247,9 @@ public abstract class MediaplayerActivity extends AppCompatActivity implements O
|
|||
controller.release();
|
||||
}
|
||||
controller = newPlaybackController();
|
||||
if(butPlay != null) {
|
||||
butPlay.setOnClickListener(controller.newOnPlayButtonClickListener());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue