Commit 646047f0 by aquilescanta Committed by Oliver Woodman

Add nullable annotation to onSourceInfoRefreshed's manifest argument

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=158522507
parent 59315cf9
......@@ -15,6 +15,7 @@
*/
package com.google.android.exoplayer2.source;
import android.support.annotation.Nullable;
import com.google.android.exoplayer2.ExoPlayer;
import com.google.android.exoplayer2.Timeline;
import com.google.android.exoplayer2.upstream.Allocator;
......@@ -34,9 +35,9 @@ public interface MediaSource {
* Called when manifest and/or timeline has been refreshed.
*
* @param timeline The source's timeline.
* @param manifest The loaded manifest.
* @param manifest The loaded manifest. May be null.
*/
void onSourceInfoRefreshed(Timeline timeline, Object manifest);
void onSourceInfoRefreshed(Timeline timeline, @Nullable Object manifest);
}
......
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