mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Mark final field
PiperOrigin-RevId: 287669425
This commit is contained in:
parent
24a19264db
commit
035cb096d9
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ import com.google.android.exoplayer2.util.Assertions;
|
||||||
*/
|
*/
|
||||||
@RequiresApi(21)
|
@RequiresApi(21)
|
||||||
/* package */ final class AsynchronousMediaCodecAdapter implements MediaCodecAdapter {
|
/* package */ final class AsynchronousMediaCodecAdapter implements MediaCodecAdapter {
|
||||||
private MediaCodecAsyncCallback mediaCodecAsyncCallback;
|
private final MediaCodecAsyncCallback mediaCodecAsyncCallback;
|
||||||
private final Handler handler;
|
private final Handler handler;
|
||||||
private final MediaCodec codec;
|
private final MediaCodec codec;
|
||||||
@Nullable private IllegalStateException internalException;
|
@Nullable private IllegalStateException internalException;
|
||||||
|
|
@ -51,7 +51,7 @@ import com.google.android.exoplayer2.util.Assertions;
|
||||||
|
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
/* package */ AsynchronousMediaCodecAdapter(MediaCodec codec, Looper looper) {
|
/* package */ AsynchronousMediaCodecAdapter(MediaCodec codec, Looper looper) {
|
||||||
this.mediaCodecAsyncCallback = new MediaCodecAsyncCallback();
|
mediaCodecAsyncCallback = new MediaCodecAsyncCallback();
|
||||||
handler = new Handler(looper);
|
handler = new Handler(looper);
|
||||||
this.codec = codec;
|
this.codec = codec;
|
||||||
this.codec.setCallback(mediaCodecAsyncCallback);
|
this.codec.setCallback(mediaCodecAsyncCallback);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue