Remove thread checks in player constructor
SimpleExoPlayer instances don't have to be created from the application thread. PiperOrigin-RevId: 304190901
This commit is contained in:
parent
262f19aa63
commit
c9a89bee1c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user