Commit 2b97455a by olly Committed by Oliver Woodman

Register newly split modules

PiperOrigin-RevId: 405379511
parent 988a55db
...@@ -19,6 +19,7 @@ import android.net.Uri; ...@@ -19,6 +19,7 @@ import android.net.Uri;
import androidx.annotation.IntDef; import androidx.annotation.IntDef;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import com.google.android.exoplayer2.C; import com.google.android.exoplayer2.C;
import com.google.android.exoplayer2.ExoPlayerLibraryInfo;
import com.google.android.exoplayer2.util.Assertions; import com.google.android.exoplayer2.util.Assertions;
import java.lang.annotation.Documented; import java.lang.annotation.Documented;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
...@@ -30,6 +31,10 @@ import java.util.Map; ...@@ -30,6 +31,10 @@ import java.util.Map;
/** Defines a region of data in a resource. */ /** Defines a region of data in a resource. */
public final class DataSpec { public final class DataSpec {
static {
ExoPlayerLibraryInfo.registerModule("goog.exo.datasource");
}
/** /**
* Builds {@link DataSpec} instances. * Builds {@link DataSpec} instances.
* *
......
...@@ -18,6 +18,7 @@ package com.google.android.exoplayer2.decoder; ...@@ -18,6 +18,7 @@ package com.google.android.exoplayer2.decoder;
import androidx.annotation.IntDef; import androidx.annotation.IntDef;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import com.google.android.exoplayer2.C; import com.google.android.exoplayer2.C;
import com.google.android.exoplayer2.ExoPlayerLibraryInfo;
import com.google.android.exoplayer2.Format; import com.google.android.exoplayer2.Format;
import java.lang.annotation.Documented; import java.lang.annotation.Documented;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
...@@ -28,6 +29,10 @@ import org.checkerframework.checker.nullness.qual.EnsuresNonNull; ...@@ -28,6 +29,10 @@ import org.checkerframework.checker.nullness.qual.EnsuresNonNull;
/** Holds input for a decoder. */ /** Holds input for a decoder. */
public class DecoderInputBuffer extends Buffer { public class DecoderInputBuffer extends Buffer {
static {
ExoPlayerLibraryInfo.registerModule("goog.exo.decoder");
}
/** /**
* Thrown when an attempt is made to write into a {@link DecoderInputBuffer} whose {@link * Thrown when an attempt is made to write into a {@link DecoderInputBuffer} whose {@link
* #bufferReplacementMode} is {@link #BUFFER_REPLACEMENT_MODE_DISABLED} and who {@link #data} * #bufferReplacementMode} is {@link #BUFFER_REPLACEMENT_MODE_DISABLED} and who {@link #data}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment