Commit 4dfa7ca2 by ibaker Committed by christosts

Fix (another) `LeanbackPlayerAdapter` param name mismatch

I missed this when fixing `positionInMs` for Dackka in https://github.com/google/ExoPlayer/commit/d2a3d8f6fabb6d22ac28a76379725d0915344cba

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 736f090c)
parent 284bf970
...@@ -110,9 +110,9 @@ public final class LeanbackPlayerAdapter extends PlayerAdapter implements Runnab ...@@ -110,9 +110,9 @@ public final class LeanbackPlayerAdapter extends PlayerAdapter implements Runnab
} }
@Override @Override
public void setProgressUpdatingEnabled(boolean enabled) { public void setProgressUpdatingEnabled(boolean enable) {
handler.removeCallbacks(this); handler.removeCallbacks(this);
if (enabled) { if (enable) {
handler.post(this); handler.post(this);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment