Change notification category

This commit is contained in:
xynngh 2020-03-19 16:24:29 +04:00
parent 795d818e7d
commit f009251fb1
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}