Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[MIUI 12/Android 10] No audio on incoming calls with visible number when screen is locked (Regression v1.11.1)

オープン
#814 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
22/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
android, kotlin
領域
mobile

調査の方向性

The payload names no source files, tests, or entry points, so the starting point is the diff between v1.2.0 and v1.11.1 in the call-handling code. The reporter's hypothesis is a timing problem on a locked screen when a contact lookup runs before audio starts, but that is unconfirmed. Reproducing needs a MIUI or similar Android 10 device with a locked screen. Done means audio works on a locked screen for visible numbers, confirmed on that device.

索引モデルが issue の本文から書いたものです。

説明

bug needs triage
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.11.1

Affected Android/Custom ROM version

Android 10 / MIUI 12.0.1

Affected device model

Xiaomi mi note 10 pro

How did you install the app?

GitHub releases

Steps to reproduce the bug
  1. Install Fossify Phone v1.11.1 on a Xiaomi device with MIUI 12 (Android 10).
  2. Ensure the phone screen is LOCKED.
  3. Receive an incoming call from a VISIBLE number (saved contact or displayed number).
  4. Answer the call.

Control Test Matrix (tested on v1.11.1):

  • Call from MASKED/PRIVATE number + Screen LOCKED -> Audio WORKS.
  • Call from MASKED/PRIVATE number + Screen UNLOCKED -> Audio WORKS.
  • Call from VISIBLE number + Screen UNLOCKED -> Audio WORKS.
  • Call from VISIBLE number + Screen LOCKED -> Audio FAILS (Muted). : BUG!
Expected behavior

Audio (microphone and speaker) should work immediately upon answering, in all four scenarios listed above. This is the standard behavior observed in version 1.2.0 (version i use for 2 years)

Actual behavior

In the specific scenario where the screen is LOCKED and the incoming number is VISIBLE, the call connects (timer runs) but the audio channel remains muted (no input, no output).
The other three scenarios function correctly.
Setting battery optimization to "No restrictions" reduces the frequency of the bug but does not eliminate it completely on v1.11.1.

Screenshots/Screen recordings

No response

Additional information
  • Device: Xiaomi Mi Note 10 Pro
  • OS: Android 10
  • UI: MIUI 12.0.1
  • Affected Version: 1.11.1
  • Last Working Version on my phone: 1.2.0 (Confirmed Regression)

Technical Hypothesis:
The bug appears to be a race condition involving "Wake Locks" on MIUI.

  • Visible numbers trigger a database lookup (contact name/photo) before audio initialization.
  • Masked numbers skip this lookup.
    The delay introduced by the lookup on a locked screen (deep sleep) seems to cause the audio initialization to fail or occur too late. Version 1.2.0 does not exhibit this timing sensitivity.
主要言語
Kotlin
スター
1.4k
フォーク
213
平均マージ
2日 21時間
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FossifyOrg/Phone のほかの issue

FossifyOrg/Phone の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。