Actually use view atrribute for min update interval.

We didn't read the attribute value so far.

PiperOrigin-RevId: 237420697
This commit is contained in:
tonihei 2019-03-08 11:15:40 +00:00 committed by Oliver Woodman
parent d92973dbe2
commit 57e2ec6a1d

View File

@ -293,6 +293,10 @@ public class PlayerControlView extends FrameLayout {
repeatToggleModes = getRepeatToggleModes(a, repeatToggleModes);
showShuffleButton =
a.getBoolean(R.styleable.PlayerControlView_show_shuffle_button, showShuffleButton);
setTimeBarMinUpdateInterval(
a.getInt(
R.styleable.PlayerControlView_time_bar_min_update_interval,
timeBarMinUpdateIntervalMs));
} finally {
a.recycle();
}