mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Clean up ExoPlayerLibraryInfo
PiperOrigin-RevId: 401729859
This commit is contained in:
parent
b6bddc5000
commit
e66f9fafe1
@ -15,12 +15,11 @@
|
|||||||
*/
|
*/
|
||||||
package com.google.android.exoplayer2;
|
package com.google.android.exoplayer2;
|
||||||
|
|
||||||
import android.os.Build;
|
|
||||||
import com.google.android.exoplayer2.util.Assertions;
|
import com.google.android.exoplayer2.util.Assertions;
|
||||||
import com.google.android.exoplayer2.util.TraceUtil;
|
import com.google.android.exoplayer2.util.TraceUtil;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
|
||||||
/** Information about the ExoPlayer library. */
|
/** Information about the library. */
|
||||||
public final class ExoPlayerLibraryInfo {
|
public final class ExoPlayerLibraryInfo {
|
||||||
|
|
||||||
/** A tag to use when logging library information. */
|
/** 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.
|
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
|
||||||
public static final int VERSION_INT = 2015001;
|
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. */
|
/** Whether the library was compiled with {@link Assertions} checks enabled. */
|
||||||
public static final boolean ASSERTIONS_ENABLED = true;
|
public static final boolean ASSERTIONS_ENABLED = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user