mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Fixed missing notification when 2 or more messages are received while Service is killed
This commit is contained in:
parent
f31fdb0fd2
commit
5546872d84
1 changed files with 1 additions and 2 deletions
|
|
@ -23,7 +23,6 @@ import com.google.firebase.messaging.FirebaseMessagingService;
|
|||
import com.google.firebase.messaging.RemoteMessage;
|
||||
import org.linphone.LinphoneContext;
|
||||
import org.linphone.LinphoneManager;
|
||||
import org.linphone.LinphoneService;
|
||||
import org.linphone.core.Core;
|
||||
import org.linphone.core.tools.Log;
|
||||
import org.linphone.settings.LinphonePreferences;
|
||||
|
|
@ -34,7 +33,7 @@ public class FirebaseMessaging extends FirebaseMessagingService {
|
|||
new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (!LinphoneService.isReady()) {
|
||||
if (!LinphoneContext.isReady()) {
|
||||
android.util.Log.i(
|
||||
"FirebaseMessaging", "[Push Notification] Starting context");
|
||||
new LinphoneContext(getApplicationContext());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue