AudioSink: Remove comment about unconfirmed crash

Consensus is that the NoClassDefFoundError does not
causes a crash but only a warning.

PiperOrigin-RevId: 338022354
This commit is contained in:
krocard 2020-10-20 10:18:43 +01:00 committed by Oliver Woodman
parent 2f3fdf7c5b
commit f54f763db5

View file

@ -1737,9 +1737,9 @@ public final class DefaultAudioSink implements AudioSink {
public StreamEventCallbackV29() {
handler = new Handler();
// StreamEventCallbackV29 can NOT inherit directly from AudioTrack.StreamEventCallback as it
// would cause a NoClassDefFoundError on the first load of DefaultAudioSink for SDK < 29
// fatal on some devices. See: https://github.com/google/ExoPlayer/issues/8058
// Avoid StreamEventCallbackV29 inheriting directly from AudioTrack.StreamEventCallback as it
// would cause a NoClassDefFoundError warning on load of DefaultAudioSink for SDK < 29.
// See: https://github.com/google/ExoPlayer/issues/8058
callback =
new AudioTrack.StreamEventCallback() {
@Override