Skip to content

Commit

Permalink
Remove // Do nothing overrides from EventLogger
Browse files Browse the repository at this point in the history
These methods are marked `default` on the `AnalyticsListener` interface
with an empty implementation, so there's no need to override them just
to re-define the empty implementation.

PiperOrigin-RevId: 689416584
(cherry picked from commit 757f223)
  • Loading branch information
icbaker authored and ivanbuper committed Nov 5, 2024
1 parent 8ca80a6 commit c44d509
Showing 1 changed file with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,13 +475,6 @@ public void onVideoSizeChanged(EventTime eventTime, VideoSize videoSize) {
logd(eventTime, "videoSize", videoSize.width + ", " + videoSize.height);
}

@UnstableApi
@Override
public void onLoadStarted(
EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) {
// Do nothing.
}

@UnstableApi
@Override
public void onLoadError(
Expand All @@ -493,27 +486,6 @@ public void onLoadError(
printInternalError(eventTime, "loadError", error);
}

@UnstableApi
@Override
public void onLoadCanceled(
EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) {
// Do nothing.
}

@UnstableApi
@Override
public void onLoadCompleted(
EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) {
// Do nothing.
}

@UnstableApi
@Override
public void onBandwidthEstimate(
EventTime eventTime, int totalLoadTimeMs, long totalBytesLoaded, long bitrateEstimate) {
// Do nothing.
}

@UnstableApi
@Override
public void onSurfaceSizeChanged(EventTime eventTime, int width, int height) {
Expand Down

0 comments on commit c44d509

Please sign in to comment.