
This change resets the error in the platform error state immediately to make sure that the custom error is reflected only very briefly and then gets back to the playback state that actually reflects the player state. Issue: androidx/media#543 PiperOrigin-RevId: 633626180