Commit 077e7932 by ibaker Committed by Oliver Woodman

Add some more DRM event plumbing to Playlist

This was missed in https://github.com/google/ExoPlayer/commit/f08eed4145613527c0a4907e035ba483db6df253

Part of issue:#6765

PiperOrigin-RevId: 301796232
parent 181177a2
......@@ -248,7 +248,8 @@ import java.util.Set;
* @param analyticsCollector The analytics collector.
*/
public final void setAnalyticsCollector(Handler handler, AnalyticsCollector analyticsCollector) {
eventDispatcher.addEventListener(handler, analyticsCollector);
eventDispatcher.addEventListener(handler, analyticsCollector, MediaSourceEventListener.class);
eventDispatcher.addEventListener(handler, analyticsCollector, DrmSessionEventListener.class);
}
/**
......
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