mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 04:55:29 +03: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
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue