Skip to content

Commit

Permalink
Notification icon customization.
Browse files Browse the repository at this point in the history
  • Loading branch information
surinder-tsys committed May 25, 2023
1 parent 778a105 commit 276fc9d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import android.os.HandlerThread;
import android.os.Process;

import com.owncloud.android.R;
import com.owncloud.android.utils.theme.ViewThemeUtils;

import java.security.SecureRandom;
Expand Down Expand Up @@ -63,7 +64,8 @@ private NotificationUtils() {
*/
public static NotificationCompat.Builder newNotificationBuilder(Context context, final ViewThemeUtils viewThemeUtils) {
final NotificationCompat.Builder builder = new NotificationCompat.Builder(context);
viewThemeUtils.androidx.themeNotificationCompatBuilder(context, builder);
//NMC Customization
builder.setColor(context.getResources().getColor(R.color.primary, null));
return builder;
}

Expand Down

0 comments on commit 276fc9d

Please sign in to comment.