- Improved play queue adapter for selection.

- Fixed media source resolution on background player for streams without an audio only stream.
- Fixed background player not updating when screen turns back on.
- Fixed background player notification switching to wrong repeat mode icon opacity on click.
This commit is contained in:
John Zhen M 2017-10-02 23:38:46 -07:00 committed by John Zhen Mo
parent 68fb6c7fa3
commit 039f2d2754
18 changed files with 794 additions and 249 deletions

View file

@ -22,6 +22,7 @@
<!-- Can't refer to colors directly into drawable's xml-->
<attr name="toolbar_shadow_drawable" format="reference"/>
<attr name="selector_color" format="color"/>
<attr name="separator_color" format="color"/>
<attr name="contrast_background_color" format="color"/>
</resources>

View file

@ -292,4 +292,7 @@
<string name="top_50">Top 50</string>
<string name="new_and_hot">New &amp; hot</string>
<string name="service_kiosk_string" translatable="false">%1$s/%2$s</string>
<!-- Player -->
<string name="title_activity_background_player">Background Player</string>
</resources>

View file

@ -26,6 +26,7 @@
<item name="language">@drawable/ic_language_black_24dp</item>
<item name="history">@drawable/ic_history_black_24dp</item>
<item name="selector_color">@color/light_selector</item>
<item name="separator_color">@color/light_separator_color</item>
<item name="contrast_background_color">@color/light_contrast_background_color</item>
<item name="toolbar_shadow_drawable">@drawable/toolbar_shadow_light</item>
@ -60,6 +61,7 @@
<item name="language">@drawable/ic_language_white_24dp</item>
<item name="history">@drawable/ic_history_white_24dp</item>
<item name="selector_color">@color/dark_selector</item>
<item name="separator_color">@color/dark_separator_color</item>
<item name="contrast_background_color">@color/dark_contrast_background_color</item>
<item name="toolbar_shadow_drawable">@drawable/toolbar_shadow_dark</item>