Fix the notif color for devices older than 8

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-08-24 10:16:54 +02:00
parent 218536c4c0
commit d328332d70

View file

@ -293,6 +293,9 @@ public class NotificationWorker extends Worker {
}
notificationBuilder.setGroup(Long.toString(crc32.getValue()));
} else {
// red color for the lights
notificationBuilder.setLights(0xFFFF0000, 200, 200);
}
notificationBuilder.setContentIntent(pendingIntent);