Fix bad voice note duration and listener breakage.

This commit is contained in:
Alex Hart
2020-10-23 13:00:46 -03:00
committed by GitHub
parent 81889d8130
commit 9279a54d28
3 changed files with 53 additions and 31 deletions

View File

@@ -410,10 +410,6 @@ public class ConversationItem extends LinearLayout implements BindableConversati
conversationRecipient.removeForeverObserver(this);
}
cancelPulseOutlinerAnimation();
if (eventListener != null && audioViewStub.resolved()) {
Log.d(TAG, "unbind: unregistering voice note callbacks for audio slide " + audioViewStub.get().getAudioSlideUri());
eventListener.onUnregisterVoiceNoteCallbacks(audioViewStub.get().getPlaybackStateObserver());
}
}
public ConversationMessage getConversationMessage() {