mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +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 (cherry picked from commit 757f223d8aaf7a496ebd6bb42f0cd838a11860d9)
This commit is contained in:
parent
8ca80a6b71
commit
c44d509ea8
@ -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