From 85641a38b1a032a6599012cd49230410f4126605 Mon Sep 17 00:00:00 2001 From: christosts Date: Tue, 12 Jan 2021 12:27:22 +0000 Subject: [PATCH] Remove AdaptiveMediaSourceEventListener AdaptiveMediaSourceEventListener was deprecated in r2.6.1. PiperOrigin-RevId: 351344147 --- RELEASENOTES.md | 2 ++ .../AdaptiveMediaSourceEventListener.java | 24 ------------------- 2 files changed, 2 insertions(+), 24 deletions(-) delete mode 100644 library/core/src/main/java/com/google/android/exoplayer2/source/AdaptiveMediaSourceEventListener.java diff --git a/RELEASENOTES.md b/RELEASENOTES.md index b73be418e7..c1b7e9d6aa 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -3,6 +3,8 @@ ### dev-v2 (not yet released) * Core library: + * Remove deprecated interface `AdaptiveMediaSourceEventListener`. Use + `MediaSourceEventListener` instead. * Add a `LivePlaybackSpeedControl` component to control the playback speed during live playbacks. This allows the player to stay close to the configured live offset. A configurable default implementation diff --git a/library/core/src/main/java/com/google/android/exoplayer2/source/AdaptiveMediaSourceEventListener.java b/library/core/src/main/java/com/google/android/exoplayer2/source/AdaptiveMediaSourceEventListener.java deleted file mode 100644 index ccc3beac55..0000000000 --- a/library/core/src/main/java/com/google/android/exoplayer2/source/AdaptiveMediaSourceEventListener.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2016 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.source; - -/** - * Interface for callbacks to be notified of {@link MediaSource} events. - * - * @deprecated Use {@link MediaSourceEventListener}. - */ -@Deprecated -public interface AdaptiveMediaSourceEventListener extends MediaSourceEventListener {}