Commit 57e2ec6a by tonihei Committed by Oliver Woodman

Actually use view atrribute for min update interval.

We didn't read the attribute value so far.

PiperOrigin-RevId: 237420697
parent d92973db
...@@ -293,6 +293,10 @@ public class PlayerControlView extends FrameLayout { ...@@ -293,6 +293,10 @@ public class PlayerControlView extends FrameLayout {
repeatToggleModes = getRepeatToggleModes(a, repeatToggleModes); repeatToggleModes = getRepeatToggleModes(a, repeatToggleModes);
showShuffleButton = showShuffleButton =
a.getBoolean(R.styleable.PlayerControlView_show_shuffle_button, showShuffleButton); a.getBoolean(R.styleable.PlayerControlView_show_shuffle_button, showShuffleButton);
setTimeBarMinUpdateInterval(
a.getInt(
R.styleable.PlayerControlView_time_bar_min_update_interval,
timeBarMinUpdateIntervalMs));
} finally { } finally {
a.recycle(); a.recycle();
} }
......
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