Skip to content

Commit

Permalink
Fix up non deprecated media sources
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchangelWTF committed Sep 17, 2024
1 parent 2de4595 commit 8b22bfb
Showing 1 changed file with 45 additions and 10 deletions.
55 changes: 45 additions & 10 deletions source/androidx.media3/media3-exoplayer/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,16 +173,6 @@
<remove-node
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='ConcatenatingMediaSource']"
/>
<remove-node
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='ConcatenatingMediaSource2']"
/>
<remove-node
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='MergingMediaSource']"
/>
<remove-node
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='WrappingMediaSource']"
/>

<attr
path="/api/package[@name='androidx.media3.exoplayer.audio']/interface[@name='AudioSink.Listener']/method[@name='onAudioTrackInitialized' and count(parameter)=1 and parameter[1][@type='androidx.media3.exoplayer.audio.AudioSink.AudioTrackConfig']]"
name="argsType"
Expand Down Expand Up @@ -322,18 +312,51 @@
>
AndroidX.Media3.ExoPlayer.Source.IMediaSource.IFactory
</attr>

<attr
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='ConcatenatingMediaSource2']/method[@name='onChildSourceInfoRefreshed' and count(parameter)=3 and parameter[1][@type='java.lang.Integer'] and parameter[2][@type='androidx.media3.exoplayer.source.MediaSource'] and parameter[3][@type='androidx.media3.common.Timeline']]/parameter[1]"
name="managedType"
>
Java.Lang.Object
</attr>

<attr
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='MergingMediaSource']/method[@name='onChildSourceInfoRefreshed' and count(parameter)=3 and parameter[1][@type='java.lang.Integer'] and parameter[2][@type='androidx.media3.exoplayer.source.MediaSource'] and parameter[3][@type='androidx.media3.common.Timeline']]/parameter[1]"
name="managedType"
>
Java.Lang.Object
</attr>

<attr
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='ExternallyLoadedMediaSource']/method[@name='canUpdateMediaItem' and count(parameter)=1 and parameter[1][@type='androidx.media3.common.MediaItem']]"
name="final"
>
true
</attr>
<attr
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='ConcatenatingMediaSource2']/method[@name='canUpdateMediaItem' and count(parameter)=1 and parameter[1][@type='androidx.media3.common.MediaItem']]"
name="final"
>
true
</attr>
<attr
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='ExternallyLoadedMediaSource']/method[@name='updateMediaItem' and count(parameter)=1 and parameter[1][@type='androidx.media3.common.MediaItem']]"
name="final"
>
true
</attr>

<attr
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='ConcatenatingMediaSource2']/method[@name='updateMediaItem' and count(parameter)=1 and parameter[1][@type='androidx.media3.common.MediaItem']]"
name="final"
>
true
</attr>

<attr
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='MergingMediaSource']/method[@name='canUpdateMediaItem' and count(parameter)=1 and parameter[1][@type='androidx.media3.common.MediaItem']]"
name="final"
>
true
</attr>
<attr
Expand All @@ -343,5 +366,17 @@
AndroidX.Media3.ExoPlayer.Source.IMediaSource
</attr>

<attr
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='MergingMediaSource']/method[@name='updateMediaItem' and count(parameter)=1 and parameter[1][@type='androidx.media3.common.MediaItem']]"
name="final"
>
true
</attr>

<attr
path="/api/package[@name='androidx.media3.exoplayer.source']/class[@name='WrappingMediaSource']/method[@name='onChildSourceInfoRefreshed' and count(parameter)=3 and parameter[1][@type='java.lang.Void'] and parameter[2][@type='androidx.media3.exoplayer.source.MediaSource'] and parameter[3][@type='androidx.media3.common.Timeline']]"
name="final"
>
false
</attr>
</metadata>

0 comments on commit 8b22bfb

Please sign in to comment.