Do we still need the notifyAll() since nothing calls wait()?
// Wake up threads waiting for the allocated size to drop.
notifyAll();
A long time ago, there was blockWhileTotalBytesAllocatedExceeds calling wait(), but it got removed and the notifyAll()s were left behind.
Do we still need the
notifyAll()since nothing callswait()?media/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/upstream/DefaultAllocator.java
Line 123 in 630c1af
A long time ago, there was
blockWhileTotalBytesAllocatedExceedscallingwait(), but it got removed and thenotifyAll()s were left behind.