Added notification color to all system notifications

Bug: 17128331
Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
This commit is contained in:
Selim Cinek
2014-08-19 22:29:02 +02:00
parent 58d028a9dc
commit f84112f025

View File

@@ -3602,6 +3602,8 @@ public class ConnectivityService extends IConnectivityManager.Stub {
notification.icon = icon;
notification.flags = Notification.FLAG_AUTO_CANCEL;
notification.tickerText = title;
notification.color = mContext.getResources().getColor(
com.android.internal.R.color.system_notification_accent_color);
notification.setLatestEventInfo(mContext, title, details, notification.contentIntent);
notification.contentIntent = intent;