mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Remove // Do nothing overrides from EventLogger
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 757f223d8a)
This commit is contained in:
parent
8ca80a6b71
commit
c44d509ea8
1 changed files with 0 additions and 28 deletions
|
|
@ -475,13 +475,6 @@ public class EventLogger implements AnalyticsListener {
|
|||
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(
|
||||
|
|
@ -493,27 +486,6 @@ public class EventLogger implements AnalyticsListener {
|
|||
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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue