hide playback speed button when casting (upon button update)
This commit is contained in:
parent
3aba2f9d4d
commit
5005cfdb3a
|
@ -645,7 +645,8 @@ public abstract class MediaplayerActivity extends CastEnabledActivity implements
|
||||||
if(butPlaybackSpeed == null) {
|
if(butPlaybackSpeed == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (controller == null) {
|
// TODO this possibly needs to change if we introduce an alternative button
|
||||||
|
if (controller == null || !(this instanceof AudioplayerActivity)) {
|
||||||
butPlaybackSpeed.setVisibility(View.GONE);
|
butPlaybackSpeed.setVisibility(View.GONE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue