Skip to content

Feat/micro ask perm - #344

Merged
ssidimoh694 merged 14 commits into
mainfrom
feat/micro-ask-perm
Dec 18, 2025
Merged

ssidimoh694 merged 14 commits into
mainfrom
feat/micro-ask-perm

Conversation

@ssidimoh694

@ssidimoh694 ssidimoh694 commented Dec 18, 2025 •

Copy link
Copy Markdown
Contributor

#345

PR Description

This PR adds microphone permission handling for the Voice Confirmation switch in the DangerModePreferences tab of the profile screen. When the switch is enabled, a popup now requests microphone access from the Android device.

To support this, I updated the ViewModel and the preference state, and adapted the related tests accordingly.

@frakdp frakdp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm, the code follows permissions that where done before so the code is pretty straight forward, good testing also.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
77.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@ssidimoh694
ssidimoh694 merged commit 9c80db8 into main Dec 18, 2025
1 of 3 checks passed
@ssidimoh694
ssidimoh694 deleted the feat/micro-ask-perm branch December 18, 2025 06:28
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.

Request microphone permission when activates danger mode vocal confirmation

3 participants