mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Set VR button disabled when listener is not registered (styled view)
PiperOrigin-RevId: 329851964
This commit is contained in:
parent
fd71e38db3
commit
f68faff30b
1 changed files with 1 additions and 0 deletions
|
|
@ -635,6 +635,7 @@ public class StyledPlayerControlView extends FrameLayout {
|
||||||
vrButton = findViewById(R.id.exo_vr);
|
vrButton = findViewById(R.id.exo_vr);
|
||||||
if (vrButton != null) {
|
if (vrButton != null) {
|
||||||
setShowVrButton(showVrButton);
|
setShowVrButton(showVrButton);
|
||||||
|
updateButton(/* enabled= */ false, vrButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Related to Settings List View
|
// Related to Settings List View
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue