Fix (another) LeanbackPlayerAdapter param name mismatch

I missed this when fixing `positionInMs` for Dackka in aae6941981

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
This commit is contained in:
ibaker 2023-01-31 16:55:07 +00:00 committed by christosts
parent 928faf5378
commit d1a27bf2a8

View File

@ -112,9 +112,9 @@ public final class LeanbackPlayerAdapter extends PlayerAdapter implements Runnab
}
@Override
public void setProgressUpdatingEnabled(boolean enabled) {
public void setProgressUpdatingEnabled(boolean enable) {
handler.removeCallbacks(this);
if (enabled) {
if (enable) {
handler.post(this);
}
}