Skip to content

Commit 4dfa7ca

Browse files
icbakerchristosts
authored andcommitted
Fix (another) LeanbackPlayerAdapter param name mismatch
I missed this when fixing `positionInMs` for Dackka in d2a3d8f This time I manually verified that all the `@Override` methods have parameter names that match [the docs](https://developer.android.com/reference/androidx/leanback/media/PlayerAdapter). #minor-release PiperOrigin-RevId: 506017063 (cherry picked from commit 736f090)
1 parent 284bf97 commit 4dfa7ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/LeanbackPlayerAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ public void onDetachedFromHost() {
110110
}
111111

112112
@Override
113-
public void setProgressUpdatingEnabled(boolean enabled) {
113+
public void setProgressUpdatingEnabled(boolean enable) {
114114
handler.removeCallbacks(this);
115-
if (enabled) {
115+
if (enable) {
116116
handler.post(this);
117117
}
118118
}

0 commit comments

Comments
 (0)