Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Voice search permission fix #1337

Merged
merged 1 commit into from
Jun 26, 2019
Merged

Voice search permission fix #1337

merged 1 commit into from
Jun 26, 2019

Conversation

keianhzo
Copy link
Contributor

Fixes #1336 Microphone permission loop when the permission is rejected.

Fixes microphone permission loop when rejected.
@@ -261,7 +261,7 @@ public void onRequestPermissionsResult(int requestCode, String[] permissions, in
show();

} else {
super.show();
super.show(true);
Copy link
Contributor

Choose a reason for hiding this comment

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

We may want to change the true to a enum in the future to improve readability (as a follow-up)

Copy link
Contributor

@bluemarvin bluemarvin left a comment

Choose a reason for hiding this comment

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

I agree that the boolean should be changed to an int enum. Please file for a follow up.

@bluemarvin bluemarvin merged commit e759f46 into master Jun 26, 2019
@bluemarvin bluemarvin deleted the voice_search_permission branch July 2, 2019 00:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Voice microphone permission cannot be rejected
3 participants