Annotate rest of WebRTC with @Nullable.
Bug: webrtc:8881 Change-Id: Ic199efa73a0b3b9437df1e8fe5a1814a70380993 Reviewed-on: https://webrtc-review.googlesource.com/64884 Reviewed-by: Paulina Hensman <phensman@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22639}
This commit is contained in:
committed by
Commit Bot
parent
903dc861e7
commit
dc52651911
@ -26,6 +26,7 @@ import java.util.List;
|
||||
import java.util.concurrent.BlockingQueue;
|
||||
import java.util.concurrent.LinkedBlockingQueue;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import javax.annotation.Nullable;
|
||||
import org.chromium.base.test.params.BaseJUnit4RunnerDelegate;
|
||||
import org.chromium.base.test.params.ParameterAnnotations.ClassParameter;
|
||||
import org.chromium.base.test.params.ParameterAnnotations.UseRunnerDelegate;
|
||||
@ -291,7 +292,7 @@ public class HardwareVideoEncoderTest {
|
||||
eglContext, ENABLE_INTEL_VP8_ENCODER, ENABLE_H264_HIGH_PROFILE);
|
||||
}
|
||||
|
||||
private VideoEncoder createEncoder() {
|
||||
private @Nullable VideoEncoder createEncoder() {
|
||||
VideoEncoderFactory factory =
|
||||
createEncoderFactory(useEglContext ? eglBase.getEglBaseContext() : null);
|
||||
VideoCodecInfo[] supportedCodecs = factory.getSupportedCodecs();
|
||||
|
||||
Reference in New Issue
Block a user