mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
Notification manager shouldn’t be null
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
59e9da8984
commit
075cd9f79f
@ -195,7 +195,9 @@ public class MagicFirebaseMessagingService extends FirebaseMessagingService {
|
||||
crc32 = new CRC32();
|
||||
crc32.update(stringForCrc.getBytes());
|
||||
|
||||
notificationManager.notify((int) crc32.getValue(), notificationBuilder.build());
|
||||
if (notificationManager != null) {
|
||||
notificationManager.notify((int) crc32.getValue(), notificationBuilder.build());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user