Este foro usa cookies
Este foro hace uso de cookies para almacenar su información de inicio de sesión si está registrado, y su última visita si no lo está. Las cookies son pequeños documentos de texto almacenados en su computadora; las cookies establecidas por este foro solo se pueden usar en este sitio web y no representan ningún riesgo de seguridad. Las cookies en este foro también rastrean los temas específicos que ha leído y la última vez que los leyó. Por favor, confirme si acepta o rechaza el establecimiento de estas cookies.

Se almacenará una cookie en su navegador, independientemente de su elección, para evitar que le vuelvan a hacer esta pregunta. Podrá cambiar la configuración de sus cookies en cualquier momento utilizando el enlace en el pie de página.

Calificación:
  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
Per App Led Color & Pulse and quiet hours for notification led, sounds and vibration
#1
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.
[Imagen: 72bbdc3090f9e6f642593d1dd1a9675e.jpg][Imagen: 5aeac8d2a3d50a20d592d0970c04763d.jpg][Imagen: 853c85ea74e2feaf0a53c27b05f9ad4f.jpg][Imagen: 2729268ce15895946107f9a655980232.jpg][Imagen: f2d0c33f5b0020b2a29a0026b2aa467d.jpg][Imagen: c93f6a306ded1ba17b58a539daf8ad65.jpg]


Archivos adjuntos
.rar   NotiManagerModGuide.rar (Tamaño: 918.33 KB / Descargas: 33)
[-] Recuento: 7 usuarios dicen Me Gusta a Grouxho por este post:
  • Carotixx (12-08-2018), josete_1976 (06-20-2018), necrosauron (06-18-2018), GVM (06-17-2018), jiterron (06-17-2018), dav88 (06-16-2018), Zerhiote (06-16-2018)
Responder
#2
Otra ya funcionando, de lujo. Grandes tutos nos dejas Grouxho
[Imagen: qeHcSFg.png]

[-] Recuento: 1 usuario dice Me Gusta a GVM por este post:
  • Grouxho (06-19-2018)
Responder
#3
un crá.. de cracks...
se agradece el curro 

saludos
[Imagen: D0YqJ3J.gif]
[-] Recuento: 2 usuarios dicen Me Gusta a necrosauron por este post:
  • GVM (06-19-2018), Grouxho (06-19-2018)
Responder


Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)