Allow to determine dominant color for notifications icon [Tinted Mod]

this also fix current color after screen off

Exodus:
Again, this was modified for my source.
It also contains more fixes from LorDClockaN:
https://github.com/AICP/frameworks_base/commit/3c9544868ddf131bf772803af080b19374e5fe7b

Change-Id: I7af3210a67219cf6af85852a108081aa784681e9