mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 12:38:33 +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
|
@Override
|
||||||
public void onPrepare(boolean playWhenReady) {
|
public void onPrepare(boolean playWhenReady) {
|
||||||
throw new UnsupportedOperationException("VoiceNotePlaybackPreparer does not support onPrepare");
|
Log.w(TAG, "Requested playback from IDLE state. Ignoring.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user