Commit c9a89bee by kimvde Committed by Oliver Woodman

Remove thread checks in player constructor

SimpleExoPlayer instances don't have to be created from the application
thread.

PiperOrigin-RevId: 304190901
parent 262f19aa
......@@ -445,8 +445,8 @@ public class SimpleExoPlayer extends BasePlayer
clock,
looper);
analyticsCollector.setPlayer(player);
addListener(analyticsCollector);
addListener(componentListener);
player.addListener(analyticsCollector);
player.addListener(componentListener);
videoDebugListeners.add(analyticsCollector);
videoListeners.add(analyticsCollector);
audioDebugListeners.add(analyticsCollector);
......
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