Add nullable annotation to onSourceInfoRefreshed's manifest argument

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=158522507
This commit is contained in:
aquilescanta 2017-06-09 08:45:50 -07:00 committed by Oliver Woodman
parent 59315cf923
commit 646047f088

View File

@ -15,6 +15,7 @@
*/ */
package com.google.android.exoplayer2.source; package com.google.android.exoplayer2.source;
import android.support.annotation.Nullable;
import com.google.android.exoplayer2.ExoPlayer; import com.google.android.exoplayer2.ExoPlayer;
import com.google.android.exoplayer2.Timeline; import com.google.android.exoplayer2.Timeline;
import com.google.android.exoplayer2.upstream.Allocator; import com.google.android.exoplayer2.upstream.Allocator;
@ -34,9 +35,9 @@ public interface MediaSource {
* Called when manifest and/or timeline has been refreshed. * Called when manifest and/or timeline has been refreshed.
* *
* @param timeline The source's timeline. * @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);
} }