From 2bc57557f9839773ac382618eb74af970cc5ef83 Mon Sep 17 00:00:00 2001 From: AndyScherzinger Date: Thu, 24 Aug 2017 18:30:28 +0200 Subject: [PATCH] set color for notification for modified build too --- .../android/services/firebase/NCFirebaseMessagingService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modified/java/com/owncloud/android/services/firebase/NCFirebaseMessagingService.java b/src/modified/java/com/owncloud/android/services/firebase/NCFirebaseMessagingService.java index 15ea3d3ca0..a2e646b2ba 100644 --- a/src/modified/java/com/owncloud/android/services/firebase/NCFirebaseMessagingService.java +++ b/src/modified/java/com/owncloud/android/services/firebase/NCFirebaseMessagingService.java @@ -51,6 +51,7 @@ public class NCFirebaseMessagingService extends FirebaseMessagingService { NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this) .setSmallIcon(R.drawable.notification_icon) .setLargeIcon(BitmapFactory.decodeResource(getResources(), R.drawable.notification_icon)) + .setColor(ThemeUtils.primaryColor()) .setContentTitle(contentTitle) .setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION)) .setAutoCancel(true)