just_audio
just_audio copied to clipboard
Fix bug 871, 'IcMetadata.Info can be stale'
Android platform only: When a new track is selected that has a Metadata header with a metadataInterval of -1 (i.e. C.LENGTH_UNSET), onMetadata() is never called; thus, the stale metadata info from the last track is not cleared. This fix clears the metadata info under this condition.