Remove unnecessary null check.
Issue #2462 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=147731351
This commit is contained in:
parent
fccaa07be3
commit
4cca2f2d0a
@ -101,9 +101,6 @@ import java.util.Locale;
|
||||
|
||||
@Override
|
||||
public void onTimelineChanged(Timeline timeline, Object manifest) {
|
||||
if (timeline == null) {
|
||||
return;
|
||||
}
|
||||
int periodCount = timeline.getPeriodCount();
|
||||
int windowCount = timeline.getWindowCount();
|
||||
Log.d(TAG, "sourceInfo [periodCount=" + periodCount + ", windowCount=" + windowCount);
|
||||
|
Loading…
x
Reference in New Issue
Block a user