diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/dialogs/VoiceSearchWidget.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/dialogs/VoiceSearchWidget.java index e3736fe4e..b97ac6575 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/dialogs/VoiceSearchWidget.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/dialogs/VoiceSearchWidget.java @@ -333,17 +333,20 @@ private void setDecodingState() { } private void setResultState() { - mVoiceSearchText1.setText(R.string.voice_search_error); - mVoiceSearchText1.setVisibility(View.VISIBLE); - mVoiceSearchText2.setText(R.string.voice_search_try_again); - mVoiceSearchText2.setVisibility(View.VISIBLE); - mVoiceSearchText3.setVisibility(View.VISIBLE); - mVoiceSearchInput.setVisibility(View.VISIBLE); - mVoiceSearchSearching.clearAnimation(); - mVoiceSearchSearching.setVisibility(View.INVISIBLE); - stopVoiceSearch(); - startVoiceSearch(); + + postDelayed(() -> { + mVoiceSearchText1.setText(R.string.voice_search_error); + mVoiceSearchText1.setVisibility(View.VISIBLE); + mVoiceSearchText2.setText(R.string.voice_search_try_again); + mVoiceSearchText2.setVisibility(View.VISIBLE); + mVoiceSearchText3.setVisibility(View.VISIBLE); + mVoiceSearchInput.setVisibility(View.VISIBLE); + mVoiceSearchSearching.clearAnimation(); + mVoiceSearchSearching.setVisibility(View.INVISIBLE); + + startVoiceSearch(); + }, 100); } private void setPermissionNotGranted() {