Commit cfe26c24 authored by Simeon Anfinrud's avatar Simeon Anfinrud Committed by Commit Bot

[media] Use ArrayList in CodecProfileLevelList.

This fixes  JdkObsolete lint warnings in media_java.

Bug: NONE
Test: build media_java
Change-Id: I198be70370ed4b98336b3f858183c5d65555bc59
Reviewed-on: https://chromium-review.googlesource.com/827674Reviewed-by: default avatarFrank Liberato <liberato@chromium.org>
Commit-Queue: Simeon Anfinrud <sanfin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524268}
parent d2b395a4
...@@ -10,7 +10,7 @@ import org.chromium.base.annotations.CalledByNative; ...@@ -10,7 +10,7 @@ import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace; import org.chromium.base.annotations.JNINamespace;
import org.chromium.base.annotations.MainDex; import org.chromium.base.annotations.MainDex;
import java.util.LinkedList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@JNINamespace("media") @JNINamespace("media")
...@@ -21,7 +21,7 @@ class CodecProfileLevelList { ...@@ -21,7 +21,7 @@ class CodecProfileLevelList {
private final List<CodecProfileLevelAdapter> mList; private final List<CodecProfileLevelAdapter> mList;
public CodecProfileLevelList() { public CodecProfileLevelList() {
mList = new LinkedList<CodecProfileLevelAdapter>(); mList = new ArrayList<CodecProfileLevelAdapter>();
} }
public boolean addCodecProfileLevel(String mime, CodecProfileLevel codecProfileLevel) { public boolean addCodecProfileLevel(String mime, CodecProfileLevel codecProfileLevel) {
......
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 to comment