mirror of
https://github.com/androidx/media.git
synced 2025-05-09 08:30:43 +08:00
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
This commit is contained in:
parent
f0b7dfc71d
commit
736f090cce
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user