Change notification category
This commit is contained in:
parent
795d818e7d
commit
f009251fb1
|
@ -108,7 +108,7 @@ public class NotificationHelper {
|
||||||
.setContentTitle(title)
|
.setContentTitle(title)
|
||||||
.setContentText(text)
|
.setContentText(text)
|
||||||
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
||||||
.setCategory(NotificationCompat.CATEGORY_CALL)
|
.setCategory(NotificationCompat.CATEGORY_STATUS)
|
||||||
.setShowWhen(false)
|
.setShowWhen(false)
|
||||||
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC) // TODO: check
|
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC) // TODO: check
|
||||||
.setContentIntent(createReviewsIntent(context, numberInfo))
|
.setContentIntent(createReviewsIntent(context, numberInfo))
|
||||||
|
@ -125,7 +125,7 @@ public class NotificationHelper {
|
||||||
.setContentTitle(title)
|
.setContentTitle(title)
|
||||||
.setContentText(text)
|
.setContentText(text)
|
||||||
.setPriority(NotificationCompat.PRIORITY_DEFAULT)
|
.setPriority(NotificationCompat.PRIORITY_DEFAULT)
|
||||||
.setCategory(NotificationCompat.CATEGORY_CALL)
|
.setCategory(NotificationCompat.CATEGORY_STATUS)
|
||||||
.setContentIntent(createReviewsIntent(context, numberInfo))
|
.setContentIntent(createReviewsIntent(context, numberInfo))
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue