henrichg/PhoneProfilesPlus

Notification in dark mode

RuboGubo opened this issue · 11 comments

When in dark mode, the background of the notificarion does not go dark, which is anoying. (Not a big deal though)
Screenshot_20220827-223131_Firefox

Uff, not good. How is configured PPP Settings/"Application notification"/"Background color"? "Native"? And in device is set Dark mode?
Write me also, Androide version, device name.
Thanks.

...the device is set to native via the system setting...

Native? What is "native"? In your device is not Dark mode? Maybe it is named as "Device theme"?
Hm, PPP uses transparent background color for "Background color"="Native", but this is white color. Not good.
Then change "Background color" to "Dark" or "Black" or "Custom color" and set "Custom background color".
Or you can set "Notification style" to "Native".

This must be "bug" in Android 9. In source code of PPP I have comment:

// In 28 (Android 9) exists Dark theme, but not working in emulator,
// must be tested in device (for example Nexus 5x).

Dark theme not working also in your device :-(

Then all is OK? Notification background is dark?

Yes, I will looing on it.
Which PPP version you have installed? Latest is 6.0.1.

I'm tested it in Nexus 5x with Android 9 and working good. Background was changed by Dark theme. Maybe bug is in Samsung Android. Not good.

For some reason the normal notifications gen from profiles work fine.
Screenshot_20220828-113948_Firefox

Up is "Activated profile" notification. It is main notification of PPP. In PPP Settings "Application notification" are settings for it. If in these settings, "Notification style"="Native", used is system notification and background color is set by system. If "Notification style"="Custom", used is custom layout from PPP and for it must be configured correct "Background color".

Next is, by me, notification generated by profile activation, parameter "Others"/"Generate notification". It uses system notification, background color is set by system.