Skip to content

Commit 2b97455

Browse files
committed
Register newly split modules
PiperOrigin-RevId: 405379511
1 parent 988a55d commit 2b97455

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

library/datasource/src/main/java/com/google/android/exoplayer2/upstream/DataSpec.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import androidx.annotation.IntDef;
2020
import androidx.annotation.Nullable;
2121
import com.google.android.exoplayer2.C;
22+
import com.google.android.exoplayer2.ExoPlayerLibraryInfo;
2223
import com.google.android.exoplayer2.util.Assertions;
2324
import java.lang.annotation.Documented;
2425
import java.lang.annotation.Retention;
@@ -30,6 +31,10 @@
3031
/** Defines a region of data in a resource. */
3132
public final class DataSpec {
3233

34+
static {
35+
ExoPlayerLibraryInfo.registerModule("goog.exo.datasource");
36+
}
37+
3338
/**
3439
* Builds {@link DataSpec} instances.
3540
*

library/decoder/src/main/java/com/google/android/exoplayer2/decoder/DecoderInputBuffer.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import androidx.annotation.IntDef;
1919
import androidx.annotation.Nullable;
2020
import com.google.android.exoplayer2.C;
21+
import com.google.android.exoplayer2.ExoPlayerLibraryInfo;
2122
import com.google.android.exoplayer2.Format;
2223
import java.lang.annotation.Documented;
2324
import java.lang.annotation.Retention;
@@ -28,6 +29,10 @@
2829
/** Holds input for a decoder. */
2930
public class DecoderInputBuffer extends Buffer {
3031

32+
static {
33+
ExoPlayerLibraryInfo.registerModule("goog.exo.decoder");
34+
}
35+
3136
/**
3237
* Thrown when an attempt is made to write into a {@link DecoderInputBuffer} whose {@link
3338
* #bufferReplacementMode} is {@link #BUFFER_REPLACEMENT_MODE_DISABLED} and who {@link #data}

0 commit comments

Comments
 (0)