Fix play-pause after re-opening audioplayer
This commit is contained in:
parent
c50c57ba45
commit
795416d44f
|
@ -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