AquaMail Forum

English - Android => General Discussion => Topic started by: loanadvisor on July 02, 2015, 02:11:46 am

Title: Notification icons
Post by: loanadvisor on July 02, 2015, 02:11:46 am
I just did an core software update to my Droid phone ( Verizon - 23.11.38) and now my Aqua Mail new mail notification icons are all white in color. They used to be different colors based on the email account it came from. Any help?
Title: Re: Notification icons
Post by: mikeone on July 02, 2015, 08:22:24 am
Hi,
Unfortunately this is a limitation on system level coming with Android Lollipop 5.x.
Title: Re: Notification icons
Post by: Kostya Vasilyev on July 02, 2015, 11:14:25 pm
Google's decision.

Android 5.0+ forces status bar icons to pure white even if an application uses color icons.

This only applies to apps marked as "designed for Android 5.0" (in the app's install file), and AquaMail is. It's necessary for color status bar and a bunch of other things.
Title: Re: Notification icons
Post by: pyler on October 31, 2015, 10:32:51 pm
Sorry for storming this thread, but I looked at sources and I believe we (I) can do simple Xposed module for it :)

Just I don't know how to name it. Something short and simple. "White-less Status Bar" ?
Title: Re: Notification icons
Post by: Kostya Vasilyev on October 31, 2015, 11:47:01 pm
Super - hacker - man coming to the rescue, hooray!

I'd call it "color notification icons" or "the revenge of color notification icons" or "color icons II, the final fight"

( no, I have not been drinking )

But here is the $64,000 question -- would I be able to check for the presence of this module from my side?
Title: Re: Notification icons
Post by: pyler on November 01, 2015, 12:22:45 am
Yes, easy way - check for package name, whether user has it installed.
Harder but proper way to be sure it is enabled - add some method like "isXposedModuleForWhitelessIconsEnabled" in X class (AquaMail's utils?) and return just false. Than I can hook this method to return true.
Title: Re: Notification icons
Post by: Kostya Vasilyev on November 01, 2015, 10:45:12 pm
I can check for package name, no problem.

Didn't know that Xposed modules were installed as .apk files each.
Title: Re: Notification icons
Post by: pyler on November 02, 2015, 01:09:20 am
Ok. I will do it later this week.

Package Name "com.pyler.colornotificationicons"
Title: Re: Notification icons
Post by: Kostya Vasilyev on November 21, 2015, 01:00:07 am
Are you ready for me to do my part?
Title: Re: Notification icons
Post by: pyler on November 22, 2015, 02:33:56 pm
I had to pospone it since I have other coding projects (IT university). Next week I will go home so I would be able to do it.
Title: Re: Notification icons
Post by: Kostya Vasilyev on November 22, 2015, 04:06:03 pm
Sounds great.
Title: Re: Notification icons
Post by: mikeone on June 14, 2017, 08:34:06 am
I had to pospone it since I have other coding projects (IT university). Next week I will go home so I would be able to do it.
@pyler:
Sorry that I dig this old thread again:
Is there any news about this project?
Title: Re: Notification icons
Post by: Kostya Vasilyev on June 15, 2017, 08:45:50 pm
We have a task for this but I'm not sure if it's in our top priorities right now.