语音听写修改
This commit is contained in:
parent
0b6c188e0a
commit
77682d310a
@ -131,6 +131,7 @@ public class VoiceDialog extends AbsDialogFragment {
|
|||||||
* 上划取消
|
* 上划取消
|
||||||
*/
|
*/
|
||||||
public void withdraw() {
|
public void withdraw() {
|
||||||
|
mIat.stopListening();
|
||||||
if (!isDetached()) {
|
if (!isDetached()) {
|
||||||
voiceFluctuations.setVisibility(View.GONE);
|
voiceFluctuations.setVisibility(View.GONE);
|
||||||
gifView.setVisibility(View.GONE);
|
gifView.setVisibility(View.GONE);
|
||||||
@ -144,6 +145,7 @@ public class VoiceDialog extends AbsDialogFragment {
|
|||||||
* 上划取消
|
* 上划取消
|
||||||
*/
|
*/
|
||||||
public void notWithdraw() {
|
public void notWithdraw() {
|
||||||
|
startRecognize();
|
||||||
if (!isDetached()) {
|
if (!isDetached()) {
|
||||||
if (TextUtils.isEmpty(sendMessage())) {
|
if (TextUtils.isEmpty(sendMessage())) {
|
||||||
if (gifView.getVisibility() != View.VISIBLE)
|
if (gifView.getVisibility() != View.VISIBLE)
|
||||||
|
Loading…
Reference in New Issue
Block a user