We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3631e1c commit e53796fCopy full SHA for e53796f
libraries/ui/src/main/java/androidx/media3/ui/PlayerView.java
@@ -1603,7 +1603,8 @@ public void onCues(CueGroup cueGroup) {
1603
@Override
1604
public void onVideoSizeChanged(VideoSize videoSize) {
1605
if (videoSize.equals(VideoSize.UNKNOWN)
1606
- && (player == null || player.getPlaybackState() == Player.STATE_IDLE)) {
+ || player == null
1607
+ || player.getPlaybackState() == Player.STATE_IDLE) {
1608
return;
1609
}
1610
updateAspectRatio();
0 commit comments