[Bug]: "Only show when screen off" blocks notification lighting when Android's "Wake screen for notifications" is enabled

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

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

@sameerasw đang làm issue này rồi.

Từ ngày 24/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug
Bug Description

With "Only show when screen off" enabled, notification lighting never appears if Android's own "Wake screen for notifications" setting is on, even though the screen was off when the notification arrived.

It looks like Android wakes the screen first, so by the time Essentials checks the screen state, the screen is already on and the lighting is skipped. The option only works if Android's wake-screen setting is turned off, which means apps not selected for lighting no longer wake the screen at all.

Steps to Reproduce
  1. Enable Android's Settings > Display > Lock screen > "Wake screen for notifications".
  2. In Essentials, enable Notification lighting with "Only show when screen off" and Ambient display on.
  3. Turn the screen off.
  4. Receive a notification from a selected app.
  5. The screen wakes (via Android) but no lighting is shown.

Turning "Only show when screen off" off makes the lighting appear, but it then also shows while the phone is in use.

Expected Behavior

Lighting should appear if the screen was off (or the device was locked) when the notification arrived, regardless of Android waking the screen for that notification.

Screenshots

No response

Severity

Minor

Area

Display

Android Version

Android 17 (SDK37)

Device (OEM)

Pixel

Device

Pixel 9 Pro

App Version

21.3

Additional Context

Always-on display is off. Workaround is either disabling Android's "Wake screen for notifications" or disabling "Only show when screen off".

Ngôn ngữ chính
Kotlin
Star
3.2k
Fork
87
Merge trung bình
1 ngày 19 giờ
Pull request đã merge (30 ngày)
139

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 sameerasw/essentials

Tất cả issue của sameerasw/essentials

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.