Skip to content

Commit

Permalink
Remove BandaidTransferListener.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tonihei authored and ojw28 committed Jul 11, 2018
1 parent c3df64f commit 68822c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ interface EventListener {
* 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();
}
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public synchronized long getBitrateEstimate() {
}

@Override
public @Nullable TransferListener<?> getTransferListener() {
public @Nullable TransferListener<? super DataSource> getTransferListener() {
return this;
}

Expand Down

0 comments on commit 68822c0

Please sign in to comment.