mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 09:42:17 -05:00
bump notification priority to high as per android design guidelines
This commit is contained in:
parent
0c0ff882a9
commit
8e0e81a603
@ -240,6 +240,7 @@ public class NotificationService {
|
|||||||
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||||
mBuilder.setCategory(Notification.CATEGORY_MESSAGE);
|
mBuilder.setCategory(Notification.CATEGORY_MESSAGE);
|
||||||
}
|
}
|
||||||
|
mBuilder.setPriority(NotificationCompat.PRIORITY_HIGH);
|
||||||
setNotificationColor(mBuilder);
|
setNotificationColor(mBuilder);
|
||||||
mBuilder.setDefaults(0);
|
mBuilder.setDefaults(0);
|
||||||
if (led) {
|
if (led) {
|
||||||
|
Loading…
Reference in New Issue
Block a user