mirror of
https://github.com/androidx/media.git
synced 2025-05-07 23:50:44 +08: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
@ -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…
x
Reference in New Issue
Block a user