Blocking caller fails with exception toast being displayed
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
The payload names no source files, so start from the Call History overflow menu's block action and the SecurityException messages quoted in the report, which mention system, default dialer and current-user checks. Reproduce on a secondary Android user or with a non-default dialer, since the failure depends on the user and dialer role. Done means blocking succeeds for both users and the blocked numbers stay visible after switching tabs.
索引モデルが issue の本文から書いたものです。
説明
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 16 / Graphene OS 2026042100
Affected device model
Pixel 7
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
- Open the app and gear towards the Call History tab.
- Click the three dots for more options.
- Click on the button that reads "block" the caller.
- Confirm "Yes" on the modal.
- Observe the behaviour.
Bonus: if navigating to another tab such as Favourites or Contacts and coming back to the Call History one, you will see the "blocked" numbers again.
Expected behavior
It shall be blocking the caller instead.
Actual behavior
It errors in different ways.
I reproduced the issue in two different users.
Admin user
When doing so from the admin user the error reads:
java.lang.SecurityException: Caller must be system, default dialer or defau...
Regular user
The user has got permissions to SMS and calls (from Graphene OS user management menu), and also it has permissions to access all the contacts, call history and calls.
When doing so from a regular user the error reads:
java.lang.SecurityException: The current user cannot perform this o...
Screenshots/Screen recordings
https://github.com/user-attachments/assets/1bf992b5-022b-4f0f-bcd9-5bbe4e011291
https://github.com/user-attachments/assets/f54a9a46-26ff-42cb-9142-e4ca77fe06d2
Additional information
I attach the logs, albeit they don't seem to contain any useful information.
- 主要言語
- Kotlin
- スター
- 1.4k
- フォーク
- 213
- 平均マージ
- 5日 10時間
- マージ済み PR(30日)
- 14
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
FossifyOrg/Phone のほかの issue
-
feature request needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
FossifyOrg/Phone#922 ·
メンテナーはふだん 4 日以内に返信
-
bug needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
FossifyOrg/Phone#914 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
bug needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
FossifyOrg/Phone#889 ·
メンテナーはふだん 4 日以内に返信
-
feature request needs triage
難易度 2/5 半日 初心者へのやさしさ 60/100
FossifyOrg/Phone#822 ·
メンテナーはふだん 4 日以内に返信
-
bug needs triage
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
FossifyOrg/Phone#921 ·
メンテナーはふだん 4 日以内に返信
FossifyOrg/Phone の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
"Check mod" buttonオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
yairm210/Unciv#15803 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement triaged
難易度 1/5 1時間未満 初心者へのやさしさ 63/100
メンテナーはふだん 1 日以内に返信
-
bug follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug 🐞 CI/CD ⚒️
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
valkey-io/valkey-glide#7370 ·
メンテナーはふだん 1 日以内に返信