diff options
author | Selim Cinek <cinek@google.com> | 2014-08-19 22:29:02 +0200 |
---|---|---|
committer | Selim Cinek <cinek@google.com> | 2014-08-20 14:25:18 +0200 |
commit | 255dd04271088590fedc46c8e22b2fd4ab142d39 (patch) | |
tree | 9b0087d4e1cee5335f4d55b037b5e3a6ff13a30f /location/java/com | |
parent | 5e85359a36c14c0c568b73f138f6c8f4baad9b8e (diff) | |
download | frameworks_base-255dd04271088590fedc46c8e22b2fd4ab142d39.zip frameworks_base-255dd04271088590fedc46c8e22b2fd4ab142d39.tar.gz frameworks_base-255dd04271088590fedc46c8e22b2fd4ab142d39.tar.bz2 |
Added notification color to all system notifications
Bug: 17128331
Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
Diffstat (limited to 'location/java/com')
-rw-r--r-- | location/java/com/android/internal/location/GpsNetInitiatedHandler.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/location/java/com/android/internal/location/GpsNetInitiatedHandler.java b/location/java/com/android/internal/location/GpsNetInitiatedHandler.java index b33ba00..5a286ee 100644 --- a/location/java/com/android/internal/location/GpsNetInitiatedHandler.java +++ b/location/java/com/android/internal/location/GpsNetInitiatedHandler.java @@ -209,7 +209,9 @@ public class GpsNetInitiatedHandler { // if not to popup dialog immediately, pending intent will open the dialog Intent intent = !mPopupImmediately ? getDlgIntent(notif) : new Intent(); - PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, intent, 0); + PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, intent, 0); + mNiNotification.color = mContext.getResources().getColor( + com.android.internal.R.color.system_notification_accent_color); mNiNotification.setLatestEventInfo(mContext, title, message, pi); notificationManager.notifyAsUser(null, notif.notificationId, mNiNotification, |