mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 04:28:35 +00:00
Do not crash when we try to play from IDLE state.
This commit is contained in:
committed by
Greyson Parrelli
parent
2af5526879
commit
e419d70d51
@@ -69,7 +69,7 @@ final class VoiceNotePlaybackPreparer implements MediaSessionConnector.PlaybackP
|
||||
|
||||
@Override
|
||||
public void onPrepare(boolean playWhenReady) {
|
||||
throw new UnsupportedOperationException("VoiceNotePlaybackPreparer does not support onPrepare");
|
||||
Log.w(TAG, "Requested playback from IDLE state. Ignoring.");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user