From f009251fb1ffbd7306208017fc1f495a7a1d521a Mon Sep 17 00:00:00 2001 From: xynngh Date: Thu, 19 Mar 2020 16:24:29 +0400 Subject: [PATCH] Change notification category --- .../dummydomain/yetanothercallblocker/NotificationHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/dummydomain/yetanothercallblocker/NotificationHelper.java b/app/src/main/java/dummydomain/yetanothercallblocker/NotificationHelper.java index 36508c0..b89e15a 100644 --- a/app/src/main/java/dummydomain/yetanothercallblocker/NotificationHelper.java +++ b/app/src/main/java/dummydomain/yetanothercallblocker/NotificationHelper.java @@ -108,7 +108,7 @@ public class NotificationHelper { .setContentTitle(title) .setContentText(text) .setPriority(NotificationCompat.PRIORITY_HIGH) - .setCategory(NotificationCompat.CATEGORY_CALL) + .setCategory(NotificationCompat.CATEGORY_STATUS) .setShowWhen(false) .setVisibility(NotificationCompat.VISIBILITY_PUBLIC) // TODO: check .setContentIntent(createReviewsIntent(context, numberInfo)) @@ -125,7 +125,7 @@ public class NotificationHelper { .setContentTitle(title) .setContentText(text) .setPriority(NotificationCompat.PRIORITY_DEFAULT) - .setCategory(NotificationCompat.CATEGORY_CALL) + .setCategory(NotificationCompat.CATEGORY_STATUS) .setContentIntent(createReviewsIntent(context, numberInfo)) .build(); }