From 57e2ec6a1d9e10aa3d6e736f1f585b5e8dd12b4a Mon Sep 17 00:00:00 2001 From: tonihei Date: Fri, 8 Mar 2019 11:15:40 +0000 Subject: [PATCH] Actually use view atrribute for min update interval. We didn't read the attribute value so far. PiperOrigin-RevId: 237420697 --- .../com/google/android/exoplayer2/ui/PlayerControlView.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerControlView.java b/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerControlView.java index 612ea70fd9..afd344432f 100644 --- a/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerControlView.java +++ b/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerControlView.java @@ -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(); }