mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
Fix the notif color for devices older than 8
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
218536c4c0
commit
d328332d70
@ -293,6 +293,9 @@ public class NotificationWorker extends Worker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
notificationBuilder.setGroup(Long.toString(crc32.getValue()));
|
notificationBuilder.setGroup(Long.toString(crc32.getValue()));
|
||||||
|
} else {
|
||||||
|
// red color for the lights
|
||||||
|
notificationBuilder.setLights(0xFFFF0000, 200, 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
notificationBuilder.setContentIntent(pendingIntent);
|
notificationBuilder.setContentIntent(pendingIntent);
|
||||||
|
Loading…
Reference in New Issue
Block a user