This mod allows to you:
- to configure led color and pulse (time on - time off) per app when receiving a notification. The mod will override the led info sent by the app.
- You can set quiet hours for notification led light, notification sound and notification vibration. This means that sounds, led or vibration are disabled for notification in the specified time range.
You need:
We need some preferences from my settings app (GrxSettings -> https://github.com/Grouxho/GrxSettingsV2 ) so, you need to build it. You will find in demo and guide folder how to set it up quickly.
Limitations:
The limitations are those coming from your led type. In my case, in s7e, led is very simple (and pattern based..) and we cannot reproduce all colors. If you set, for example, white in whatsapp you get light magenta.. In s7e you can only use some areas of the color picker or you will get light magenta. But still you can set colors and pulses
Quick guide
- Download attached rar.
- Compare NotificationMaanager Observer from modded and original folders. What i am doing is to register just 1 key (a group key in grxsettings) to control all on fly.
- Compare NotificationManagerService smalies. You will find the changes to be done by looking for ## in modded file. It is an easy to do mod.
- Do not forget to add NotificationManagerService$GrxLedInfo.smali to com/android/server/notification/ folder
- Do not forget to mach the packagename you used to build GrxSettings in NotificationManagerService where indicated in the modded smali. If you do not match it, when configuring color and pulse the led will not react on fly, it will only do it when you press test button (screen off)
- Create a navigation panel option and add the provided xml with preferences. I also provide the strings for the preferences.
This mod is being working in s7 / e oreo , s9 oreo ports for s8 and s7 / e.
Enjoy.
- to configure led color and pulse (time on - time off) per app when receiving a notification. The mod will override the led info sent by the app.
- You can set quiet hours for notification led light, notification sound and notification vibration. This means that sounds, led or vibration are disabled for notification in the specified time range.
You need:
We need some preferences from my settings app (GrxSettings -> https://github.com/Grouxho/GrxSettingsV2 ) so, you need to build it. You will find in demo and guide folder how to set it up quickly.
Limitations:
The limitations are those coming from your led type. In my case, in s7e, led is very simple (and pattern based..) and we cannot reproduce all colors. If you set, for example, white in whatsapp you get light magenta.. In s7e you can only use some areas of the color picker or you will get light magenta. But still you can set colors and pulses
Quick guide
- Download attached rar.
- Compare NotificationMaanager Observer from modded and original folders. What i am doing is to register just 1 key (a group key in grxsettings) to control all on fly.
- Compare NotificationManagerService smalies. You will find the changes to be done by looking for ## in modded file. It is an easy to do mod.
- Do not forget to add NotificationManagerService$GrxLedInfo.smali to com/android/server/notification/ folder
- Do not forget to mach the packagename you used to build GrxSettings in NotificationManagerService where indicated in the modded smali. If you do not match it, when configuring color and pulse the led will not react on fly, it will only do it when you press test button (screen off)
- Create a navigation panel option and add the provided xml with preferences. I also provide the strings for the preferences.
This mod is being working in s7 / e oreo , s9 oreo ports for s8 and s7 / e.
Enjoy.