Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash for some android device when completeInitialize() in Speech… #408

Closed
wants to merge 2 commits into from

Conversation

w-rui
Copy link

@w-rui w-rui commented Jun 30, 2023

…ToTextPlugin.kt

Copy link
Contributor

@sowens-csd sowens-csd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain the failure you're seeing and how this change fixes it? I think it takes the SpeechRecognizer.isOnDeviceRecognitionAvailable out of the initialization path in the case where recognition is available? If the problem is the call to SpeechRecognizer.isOnDeviceRecognitionAvailable then wouldn't this still crash in some cases?

@sowens-csd
Copy link
Contributor

Could you have a look at PR 409? I think it is addressing the same issue, if so I will close this PR and use 409.

@sowens-csd
Copy link
Contributor

Duplicate of #409

@sowens-csd sowens-csd marked this as a duplicate of #409 Jun 30, 2023
@sowens-csd sowens-csd closed this Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants