mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
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:
parent
d92973dbe2
commit
57e2ec6a1d
1 changed files with 4 additions and 0 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue