mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-24 08:28:58 -05:00
use default priority notifications. disables heads up notifications
This commit is contained in:
parent
b86dd584dc
commit
f414998307
@ -240,7 +240,7 @@ public class NotificationService {
|
||||
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
mBuilder.setCategory(Notification.CATEGORY_MESSAGE);
|
||||
}
|
||||
mBuilder.setPriority(notify ? NotificationCompat.PRIORITY_HIGH : NotificationCompat.PRIORITY_LOW);
|
||||
mBuilder.setPriority(notify ? NotificationCompat.PRIORITY_DEFAULT : NotificationCompat.PRIORITY_LOW);
|
||||
setNotificationColor(mBuilder);
|
||||
mBuilder.setDefaults(0);
|
||||
if (led) {
|
||||
|
Loading…
Reference in New Issue
Block a user