Add missing media3 Stub OnPositionDiscontinuity
back to Android Med…
#2825
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
Add missing media3 Stub
OnPositionDiscontinuity
back to Android MediaManager classPR Classification
New feature to enhance media playback handling.
PR Summary
This pull request introduces a new method to improve the media manager's ability to respond to playback position changes.
MediaManager.android.cs
: Added theOnPositionDiscontinuity
method with parameters for old and new positions and a reason.Linked Issues
PR Checklist
approved
(bug) orChampioned
(feature/proposal)main
at time of PRAdditional information
This is the last Stub I had forgotten to add back. There was a specific reason why I removed it. dotnet/android-libraries#929 & dotnet/android-libraries#949
There are issues with having it and not having this specific stub in media element. I am not sure exactly what issues it will generate by adding it back now. It may cause no problem for developers. But I do remember that it was excluded for a reason that caused actual issues for some people. I don't remember what issues as it was a while back.