mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
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:
parent
928faf5378
commit
d1a27bf2a8
@ -112,9 +112,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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user