mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Add missing calls to AnalyticsCollector
PiperOrigin-RevId: 427133919
This commit is contained in:
parent
f8c0342990
commit
acc86c4e7d
1 changed files with 3 additions and 0 deletions
|
|
@ -2771,6 +2771,7 @@ import java.util.concurrent.TimeoutException;
|
|||
@Override
|
||||
public void onCues(List<Cue> cues) {
|
||||
currentCues = cues;
|
||||
analyticsCollector.onCues(cues);
|
||||
// TODO(internal b/187152483): Events should be dispatched via ListenerSet
|
||||
for (Listener listeners : listenerArraySet) {
|
||||
listeners.onCues(cues);
|
||||
|
|
@ -2879,6 +2880,7 @@ import java.util.concurrent.TimeoutException;
|
|||
DeviceInfo deviceInfo = createDeviceInfo(streamVolumeManager);
|
||||
if (!deviceInfo.equals(ExoPlayerImpl.this.deviceInfo)) {
|
||||
ExoPlayerImpl.this.deviceInfo = deviceInfo;
|
||||
analyticsCollector.onDeviceInfoChanged(deviceInfo);
|
||||
// TODO(internal b/187152483): Events should be dispatched via ListenerSet
|
||||
for (Listener listener : listenerArraySet) {
|
||||
listener.onDeviceInfoChanged(deviceInfo);
|
||||
|
|
@ -2888,6 +2890,7 @@ import java.util.concurrent.TimeoutException;
|
|||
|
||||
@Override
|
||||
public void onStreamVolumeChanged(int streamVolume, boolean streamMuted) {
|
||||
analyticsCollector.onDeviceVolumeChanged(streamVolume, streamMuted);
|
||||
// TODO(internal b/187152483): Events should be dispatched via ListenerSet
|
||||
for (Listener listener : listenerArraySet) {
|
||||
listener.onDeviceVolumeChanged(streamVolume, streamMuted);
|
||||
|
|
|
|||
Loading…
Reference in a new issue