forked from mirror/monocles_chat_clean
Make sure everything is set up is better than a crash?
(cherry picked from commit fbafef3c7cd3ac0c5c06ffa39e82959d9aa33930)
This commit is contained in:
parent
42c22a4c05
commit
0cc757bd54
1 changed files with 3 additions and 0 deletions
|
@ -1722,6 +1722,9 @@ public class XmppConnectionService extends Service {
|
|||
|| ongoingVideoTranscoding
|
||||
|| ongoing != null
|
||||
|| (Compatibility.keepForegroundService(this) && hasEnabledAccounts())) {
|
||||
if (Compatibility.runsTwentySix()) {
|
||||
mNotificationService.initializeChannels();
|
||||
}
|
||||
final Notification notification;
|
||||
if (ongoing != null && !diallerIntegrationActive.get()) {
|
||||
notification = this.mNotificationService.getOngoingCallNotification(ongoing);
|
||||
|
|
Loading…
Reference in a new issue