mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Annotate deprecated methods in ForwardingPlayer
This change is needed to generate correct javadoc, otherwise these methods appear as not deprecated. #minor-release PiperOrigin-RevId: 390339092
This commit is contained in:
parent
2a6136f370
commit
288fb4a8a5
1 changed files with 3 additions and 3 deletions
|
|
@ -47,8 +47,8 @@ public class ForwardingPlayer implements Player {
|
|||
return player.getApplicationLooper();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Override
|
||||
@SuppressWarnings("deprecation") // Implementing deprecated method.
|
||||
public void addListener(EventListener listener) {
|
||||
player.addListener(new ForwardingEventListener(this, listener));
|
||||
}
|
||||
|
|
@ -58,8 +58,8 @@ public class ForwardingPlayer implements Player {
|
|||
player.addListener(new ForwardingListener(this, listener));
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Override
|
||||
@SuppressWarnings("deprecation") // Implementing deprecated method.
|
||||
public void removeListener(EventListener listener) {
|
||||
player.removeListener(new ForwardingEventListener(this, listener));
|
||||
}
|
||||
|
|
@ -350,8 +350,8 @@ public class ForwardingPlayer implements Player {
|
|||
player.stop();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Override
|
||||
@SuppressWarnings("deprecation") // Forwarding to deprecated method.
|
||||
public void stop(boolean reset) {
|
||||
player.stop(reset);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue