mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08: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
This commit is contained in:
parent
94e37ca7d2
commit
757f223d8a
@ -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…
x
Reference in New Issue
Block a user