Added notification color to all system notifications
Bug: 17128331 Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user