From 2139973e2c83cf930e80769da194e2f3f058d45b Mon Sep 17 00:00:00 2001 From: ibaker Date: Fri, 1 Nov 2019 13:30:21 +0000 Subject: [PATCH] Remove WebvttParserUtil from null-checking blacklist PiperOrigin-RevId: 277916279 --- .../google/android/exoplayer2/text/webvtt/WebvttParserUtil.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttParserUtil.java b/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttParserUtil.java index 1674e9345c..dce8f8157f 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttParserUtil.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttParserUtil.java @@ -15,6 +15,7 @@ */ package com.google.android.exoplayer2.text.webvtt; +import androidx.annotation.Nullable; import com.google.android.exoplayer2.ParserException; import com.google.android.exoplayer2.util.ParsableByteArray; import com.google.android.exoplayer2.util.Util; @@ -98,6 +99,7 @@ public final class WebvttParserUtil { * reached without a cue header being found. In the case that a cue header is found, groups 1, * 2 and 3 of the returned matcher contain the start time, end time and settings list. */ + @Nullable public static Matcher findNextCueHeader(ParsableByteArray input) { String line; while ((line = input.readLine()) != null) {