Skip to content

Commit

Permalink
Fix (another) LeanbackPlayerAdapter param name mismatch
Browse files Browse the repository at this point in the history
I missed this when fixing `positionInMs` for Dackka in d2a3d8f

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 736f090)
  • Loading branch information
icbaker authored and christosts committed Feb 2, 2023
1 parent 284bf97 commit 4dfa7ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ public void onDetachedFromHost() {
}

@Override
public void setProgressUpdatingEnabled(boolean enabled) {
public void setProgressUpdatingEnabled(boolean enable) {
handler.removeCallbacks(this);
if (enabled) {
if (enable) {
handler.post(this);
}
}
Expand Down

0 comments on commit 4dfa7ca

Please sign in to comment.