Remove DefaultAnalyticsListener

PiperOrigin-RevId: 351782634
This commit is contained in:
christosts 2021-01-14 13:45:58 +00:00 committed by Ian Baker
parent eb71d730cb
commit a1bb89d90d
2 changed files with 4 additions and 25 deletions

View File

@ -4,6 +4,10 @@
* Core library: * Core library:
* Remove long deprecated symbols: * Remove long deprecated symbols:
* `AdaptiveMediaSourceEventListener`. Use `MediaSourceEventListener`
instead.
* `DefaultAnalyticsListener`. Use `AnalyticsListener` directly
instead.
* `DefaultEventListener.onTimelineChanged(Timeline, Object)`. Use * `DefaultEventListener.onTimelineChanged(Timeline, Object)`. Use
`Player.EventListener.onTimelineChanged(Timeline, int)` instead. `Player.EventListener.onTimelineChanged(Timeline, int)` instead.
* `DefaultLoadControl` constructors. Use `DefaultLoadControl.Builder` * `DefaultLoadControl` constructors. Use `DefaultLoadControl.Builder`
@ -58,8 +62,6 @@
* `SingleSampleMediaSource.EventListener` and constructors. Use * `SingleSampleMediaSource.EventListener` and constructors. Use
`MediaSourceEventListener` and `SingleSampleMediaSource.Factory` `MediaSourceEventListener` and `SingleSampleMediaSource.Factory`
instead. instead.
* Remove deprecated interface `AdaptiveMediaSourceEventListener`. Use
`MediaSourceEventListener` instead.
* Add a `LivePlaybackSpeedControl` component to control the playback speed * Add a `LivePlaybackSpeedControl` component to control the playback speed
during live playbacks. This allows the player to stay close to the during live playbacks. This allows the player to stay close to the
configured live offset. A configurable default implementation configured live offset. A configurable default implementation

View File

@ -1,23 +0,0 @@
/*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.android.exoplayer2.analytics;
/**
* @deprecated Use {@link AnalyticsListener} directly for selective overrides as all methods are
* implemented as no-op default methods.
*/
@Deprecated
public abstract class DefaultAnalyticsListener implements AnalyticsListener {}