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) {
|
||||
mBuilder.setCategory(Notification.CATEGORY_MESSAGE);
|
||||
}
|
||||
mBuilder.setPriority(NotificationCompat.PRIORITY_HIGH);
|
||||
setNotificationColor(mBuilder);
|
||||
mBuilder.setDefaults(0);
|
||||
if (led) {
|
||||
|
|
Loading…
Reference in a new issue