mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Remove BandaidTransferListener.
It has now become an empty shell as the real TransferListener provides all its methods. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=203950443
This commit is contained in:
parent
c3df64f102
commit
68822c0c41
2 changed files with 3 additions and 2 deletions
|
|
@ -47,5 +47,6 @@ public interface BandwidthMeter {
|
|||
* Returns the {@link TransferListener} that this instance uses to gather bandwidth information
|
||||
* from data transfers. May be null, if no transfer listener is used.
|
||||
*/
|
||||
@Nullable TransferListener<?> getTransferListener();
|
||||
@Nullable
|
||||
TransferListener<? super DataSource> getTransferListener();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ public final class DefaultBandwidthMeter implements BandwidthMeter, TransferList
|
|||
}
|
||||
|
||||
@Override
|
||||
public @Nullable TransferListener<?> getTransferListener() {
|
||||
public @Nullable TransferListener<? super DataSource> getTransferListener() {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue