mirror of
https://github.com/samsonjs/media.git
synced 2026-04-08 11:45:51 +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);
|
||||
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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue