Blocking caller fails with exception toast being displayed
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Kotlin
- Star
- 1.4k
- Fork
- 213
- Merge trung bình
- 3 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của FossifyOrg/Phone
-
Tab to tap and Scroll UpĐang mởfeature request needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
FossifyOrg/Phone#922 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
FossifyOrg/Phone#914 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
FossifyOrg/Phone#889 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
feature request needs triage
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 60/100
FossifyOrg/Phone#822 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug needs triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
FossifyOrg/Phone#928 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của FossifyOrg/Phone
Issue tương tự
-
area/kotlin
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
dafonton77-tech/Cadreenf#11 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Hy4ri/hermes-mobile#1647 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
rawnaldclark/Stash#649 ·
Maintainer thường phản hồi trong vòng 1 ngày