Fix (another) LeanbackPlayerAdapter param name mismatch

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

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 736f090cce540de78a968e62fd8c5aec413e8122)
This commit is contained in:
ibaker 2023-01-31 16:55:07 +00:00 committed by christosts
parent 284bf97007
commit 4dfa7ca249

View File

@ -110,9 +110,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);
}
}