Fix show_buffering attribute values.

The corresponding IntDef has changed without updating the attribute values.

Issue:#5139
PiperOrigin-RevId: 222598044
This commit is contained in:
tonihei 2018-11-23 09:13:57 +00:00 committed by Oliver Woodman
parent f8a3c135e5
commit 1a9705e247
2 changed files with 4 additions and 2 deletions

View File

@ -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 ###

View File

@ -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"/>