media/library/core/src
ibaker 278593f0c8 Use the content URI as well as mediaId for the auto-generated ad ID
MediaItem.mediaId used to default to the content URI, but this changed:
cc26a92e07

Before the mediaId change linked above, a playlist of different content
all with the same ad URI would play the ads for every item. After the
change the ad would only play once (because mediaId == "" for every
item, so they're all the same). This change restores roughly the
original behaviour by always considering both mediaId and the content
URI.

Issue: #9106
PiperOrigin-RevId: 382763618
2021-07-16 16:12:59 +01:00
..
androidTest Swallow exceptions in TestContentProvider when writing to a pipe fails 2021-05-10 23:47:52 +01:00
main Use the content URI as well as mediaId for the auto-generated ad ID 2021-07-16 16:12:59 +01:00
test Simplify FileDataSourceContractTest 2021-07-16 16:12:58 +01:00