kopia lustrzana https://github.com/ryukoposting/Signal-Android
Do not crash when we try to play from IDLE state.
rodzic
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
|
||||||
|
|
Ładowanie…
Reference in New Issue