From e66f9fafe1f5e0d89a24fd56c1abc44829e5f83a Mon Sep 17 00:00:00 2001 From: bachinger Date: Fri, 8 Oct 2021 11:17:45 +0100 Subject: [PATCH] Clean up ExoPlayerLibraryInfo PiperOrigin-RevId: 401729859 --- .../android/exoplayer2/ExoPlayerLibraryInfo.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java b/library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java index 3751d05322..5687d76392 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java @@ -15,12 +15,11 @@ */ package com.google.android.exoplayer2; -import android.os.Build; import com.google.android.exoplayer2.util.Assertions; import com.google.android.exoplayer2.util.TraceUtil; import java.util.HashSet; -/** Information about the ExoPlayer library. */ +/** Information about the library. */ public final class ExoPlayerLibraryInfo { /** A tag to use when logging library information. */ @@ -44,15 +43,6 @@ public final class ExoPlayerLibraryInfo { // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. public static final int VERSION_INT = 2015001; - /** - * The default user agent for requests made by the library. - * - * @deprecated ExoPlayer now uses the user agent of the underlying network stack by default. - */ - @Deprecated - public static final String DEFAULT_USER_AGENT = - VERSION_SLASHY + " (Linux; Android " + Build.VERSION.RELEASE + ") " + VERSION_SLASHY; - /** Whether the library was compiled with {@link Assertions} checks enabled. */ public static final boolean ASSERTIONS_ENABLED = true;