mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00:00
Add missing calls to AnalyticsCollector
PiperOrigin-RevId: 426892085
This commit is contained in:
parent
5c07b0dad7
commit
a7e49d31f8
1 changed files with 3 additions and 0 deletions
|
|
@ -2781,6 +2781,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);
|
||||
|
|
@ -2889,6 +2890,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);
|
||||
|
|
@ -2898,6 +2900,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