Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Proximity sensor only works when app in focus

Đang mở
#896 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
65/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, kotlin
Lĩnh vực
mobile-dev

Hướng nghiên cứu

Search for proximity sensor registration in the call-related code, likely within an InCallService or foreground service component. The fix probably requires ensuring sensor handling continues when the app is backgrounded, possibly by moving it to a service with a foreground notification. Look for how the stock Telephone app implements this behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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 17 / GrapheneOS

Affected device model

Pixel 7a

How did you install the app?

GitHub releases

Steps to reproduce the bug
  1. Make a call
  2. Switch to homescreen or another app
  3. Activate the proximity sensor
Expected behavior

Screen should turn off

Actual behavior

Nothing

Screenshots/Screen recordings

No response

Additional information

Stock Telephone app behaves normally, additionally placing a call through the stock app but still having Fossify as the default behaves normally.

Ngôn ngữ chính
Kotlin
Star
1.4k
Fork
213
Merge trung bình
5 ngày 10 giờ
Pull request đã merge (30 ngày)
14

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của FossifyOrg/Phone

Tất cả issue của FossifyOrg/Phone

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.