crdroidandroid / issue_tracker

all crDroid related issues should go here
12 stars 1 forks source link

bug: notification led/light not triggering for notifications #463

Closed dicamarques14 closed 3 weeks ago

dicamarques14 commented 1 month ago

Issue type

Feature not working as intended

Device

Monet and Raphael

crDroid version

crDroid 10

Exact version / Build date

Monet -> 10.6/2024-07-12 Raphael -> 10.6/2024-07-07

Bug description

The notification light is not turning on when a new notifications shows up (for example, SMS or whatsapp) The light works while charging the device

Steps to reproduce

To test the light: go to settings, crdroid settings, notifications, notification light Toggle on "lights with screen on" and try custom values, the light should blink

Relevant log (logcat/build log)

I cant paste here, the log is too long

Screenshots or videos

No response

Solution

No response

Additional context

No response

Acknowledgements

Terminator-J commented 1 month ago

Current (post-QPR3) sources for oneplus 6 (enchilada) also include updates to new Lights HAL that converts to aidl, and...

It also stopped working for actual notifications (apps, missed calls, voicemail, and sms/mms).

Only works in the UI for setting notification LED color/pulse pattern, when the "dummy" notification is in the statusbar. @dicamarques14 Does your LED work in that specific situation?

dicamarques14 commented 1 month ago

Current (post-QPR3) sources for oneplus 6 (enchilada) also include updates to new Lights HAL that converts to aidl, and...

It also stopped working for actual notifications (apps, missed calls, voicemail, and sms/mms).

Only works in the UI for setting notification LED color/pulse pattern, when the "dummy" notification is in the statusbar. @dicamarques14 Does your LED work in that specific situation?

Yes, it works only while chargin or trying to set the pattern on the mi 10 lite (monet)

Terminator-J commented 1 month ago

So this is a known issue with LineageOS at this point. Likely has to do with some recent changes in AOSP 14.0 QPR3 about notification handling and zen modes.

Can track status at https://gitlab.com/LineageOS/issues/android/-/issues/7423 for now; ideally we get to see a fix get merged upstream.

raystef66 commented 1 month ago

Cepheus and lmi suffering as well. Tried changing config_deviceLightCapabilities as someone did on PixelOS LMI and he was fortunate to revive his led notification. But on crDroid didn't work. Also read on EvoX (cepheus) they have to dis/reanable it to get it working.

Btw, opening settings on 'edit light settings' (under crDroid_settings_notification light) will trigger the led. Once closing that setting led will stop working again.

iozho commented 1 month ago

Same issue with crDroid 10.6 on Redmi Note 8

raystef66 commented 3 weeks ago

Fixed on LMI & Cepheus after: https://github.com/crdroidandroid/android_frameworks_base/commit/5fd13ff2fdfba87d4f0eec53102ed6200a189e81

Terminator-J commented 3 weeks ago

Yep, fixed in enchilada as well. Thanks for testing!