From 77682d310aaa495222b18ef768c09f3a8cc38d8c Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Thu, 10 Nov 2022 10:56:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=AD=E9=9F=B3=E5=90=AC=E5=86=99=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live/src/main/java/com/yunbao/live/dialog/VoiceDialog.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/live/src/main/java/com/yunbao/live/dialog/VoiceDialog.java b/live/src/main/java/com/yunbao/live/dialog/VoiceDialog.java index c941620e4..307559f92 100644 --- a/live/src/main/java/com/yunbao/live/dialog/VoiceDialog.java +++ b/live/src/main/java/com/yunbao/live/dialog/VoiceDialog.java @@ -131,6 +131,7 @@ public class VoiceDialog extends AbsDialogFragment { * 上划取消 */ public void withdraw() { + mIat.stopListening(); if (!isDetached()) { voiceFluctuations.setVisibility(View.GONE); gifView.setVisibility(View.GONE); @@ -144,6 +145,7 @@ public class VoiceDialog extends AbsDialogFragment { * 上划取消 */ public void notWithdraw() { + startRecognize(); if (!isDetached()) { if (TextUtils.isEmpty(sendMessage())) { if (gifView.getVisibility() != View.VISIBLE)