Clean up ExoPlayerLibraryInfo

PiperOrigin-RevId: 401729859
This commit is contained in:
bachinger 2021-10-08 11:17:45 +01:00
parent b6bddc5000
commit e66f9fafe1

View File

@ -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;