do not use circular buttons for video while casting
This commit is contained in:
parent
280efd56d7
commit
d47e4a9331
|
@ -401,7 +401,8 @@ public abstract class PlaybackController {
|
|||
final CharSequence playText = activity.getString(R.string.play_label);
|
||||
final CharSequence pauseText = activity.getString(R.string.pause_label);
|
||||
|
||||
if (PlaybackService.getCurrentMediaType() == MediaType.AUDIO) {
|
||||
if (PlaybackService.getCurrentMediaType() == MediaType.AUDIO ||
|
||||
PlaybackService.isCasting()) {
|
||||
TypedArray res = activity.obtainStyledAttributes(new int[]{
|
||||
R.attr.av_play_big, R.attr.av_pause_big});
|
||||
playResource = res.getResourceId(0, R.drawable.ic_play_arrow_grey600_36dp);
|
||||
|
|
Loading…
Reference in New Issue