Commit 1a9705e2 by tonihei Committed by Oliver Woodman

Fix show_buffering attribute values.

The corresponding IntDef has changed without updating the attribute values.

Issue:#5139
PiperOrigin-RevId: 222598044
parent f8a3c135
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
* Include channel count in audio capabilities check * Include channel count in audio capabilities check
([#4690](https://github.com/google/ExoPlayer/issues/4690)). ([#4690](https://github.com/google/ExoPlayer/issues/4690)).
* Do not retry failed loads whose error is `FileNotFoundException`. * Do not retry failed loads whose error is `FileNotFoundException`.
* Fix issue with applying the `show_buffering` attribute in `PlayerView`
([#5139](https://github.com/google/ExoPlayer/issues/5139)).
### 2.9.1 ### ### 2.9.1 ###
......
...@@ -53,8 +53,8 @@ ...@@ -53,8 +53,8 @@
<attr name="auto_show" format="boolean"/> <attr name="auto_show" format="boolean"/>
<attr name="show_buffering" format="enum"> <attr name="show_buffering" format="enum">
<enum name="never" value="0"/> <enum name="never" value="0"/>
<enum name="always" value="1"/> <enum name="when_playing" value="1"/>
<enum name="when_playing" value="2"/> <enum name="always" value="2"/>
</attr> </attr>
<attr name="keep_content_on_player_reset" format="boolean"/> <attr name="keep_content_on_player_reset" format="boolean"/>
<attr name="resize_mode"/> <attr name="resize_mode"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment