Commit 4cca2f2d by olly Committed by Oliver Woodman

Remove unnecessary null check.

Issue #2462

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=147731351
parent fccaa07b
...@@ -101,9 +101,6 @@ import java.util.Locale; ...@@ -101,9 +101,6 @@ import java.util.Locale;
@Override @Override
public void onTimelineChanged(Timeline timeline, Object manifest) { public void onTimelineChanged(Timeline timeline, Object manifest) {
if (timeline == null) {
return;
}
int periodCount = timeline.getPeriodCount(); int periodCount = timeline.getPeriodCount();
int windowCount = timeline.getWindowCount(); int windowCount = timeline.getWindowCount();
Log.d(TAG, "sourceInfo [periodCount=" + periodCount + ", windowCount=" + windowCount); Log.d(TAG, "sourceInfo [periodCount=" + periodCount + ", windowCount=" + windowCount);
......
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 sign in to comment