Android: denying the microphone permission exits the app silently
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- android, cpp
调研方向
从 src/main.cpp:833-841 开始,跟踪 RECORD_AUDIO 被拒绝后立即返回的 Android 权限拒绝路径。在 Android 上复现该行为并检查 logcat;完成的标准是应用在退出前报告缺少麦克风权限,并按照 issue 中的描述处理退出状态行为。
由索引模型根据 Issue 内容生成。
描述
MY LLM WROTE:
As promised in #2570 — on Android, denying the RECORD_AUDIO permission exits the app with no message of any kind: no window, no dialog, no toast. The user taps the icon and stays on their home screen.
It is deliberate (src/main.cpp:833-841, a bare return 0), and the exit status is 0, so nothing marks it as a failure. The trap is that Android sets USER_FIXED on an explicit deny, which suppresses the permission dialog on every later launch — so the app is then permanently unstartable with no in-app way back and no explanation.
Reproduced 8/8 on two builds (mainline 3.12.3dev-1f9667ec and a PR build), Android 16 / arm64 / Qt 5.15.2, one device. exit app 0 appears in logcat ~200 ms after the library loads.
A message naming the microphone permission before exiting would fix it. Non-zero exit status would help tooling too.
@ann0see — you suggested denied permissions cause bad states on all platforms. Likely, but I only tested Android, and this mechanism is Android-specific, so I'd treat the desktop cases as separate.
- 主要语言
- C
- 星标
- 1.1k
- 派生
- 248
- 平均合并
- 2 天 22 小时
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
jamulussoftware/jamulus 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
jamulussoftware/jamulus#3953 · 2 条评论 ·
维护者通常 3 天内回复
-
AI bug
难度 2/5 1-3 小时 新手友好度 82/100
jamulussoftware/jamulus#3901 · 4 条评论 · 1 个 reaction ·
维护者通常 3 天内回复
-
feature request
难度 5/5 一周以上 新手友好度 25/100
jamulussoftware/jamulus#3964 · 3 条评论 ·
维护者通常 3 天内回复
-
难度 3/5 1-2 天 新手友好度 65/100
jamulussoftware/jamulus#3961 ·
维护者通常 3 天内回复
-
难度 3/5 1-2 天 新手友好度 76/100
jamulussoftware/jamulus#3958 ·
维护者通常 3 天内回复
查看 jamulussoftware/jamulus 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
fastfetch-cli/fastfetch#2628 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
FujiNetWIFI/fujinet-firmware#1736 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100