Adding message for the start of service from push
This commit is contained in:
parent
446fdc3070
commit
fce5ae1ac0
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ public class FirebaseMessaging extends FirebaseMessagingService {
|
||||||
android.util.Log.i("FirebaseMessaging","[Push Notification] Received");
|
android.util.Log.i("FirebaseMessaging","[Push Notification] Received");
|
||||||
|
|
||||||
if (!LinphoneService.isReady()) {
|
if (!LinphoneService.isReady()) {
|
||||||
|
android.util.Log.i("FirebaseMessaging","[Push Notification] Starting Service");
|
||||||
startService(new Intent(ACTION_MAIN).setClass(this, LinphoneService.class));
|
startService(new Intent(ACTION_MAIN).setClass(this, LinphoneService.class));
|
||||||
} else if (LinphoneManager.isInstanciated() && LinphoneManager.getLc().getCallsNb() == 0) {
|
} else if (LinphoneManager.isInstanciated() && LinphoneManager.getLc().getCallsNb() == 0) {
|
||||||
UIThreadDispatcher.dispatch(new Runnable(){
|
UIThreadDispatcher.dispatch(new Runnable(){
|
||||||
|
|
Loading…
Reference in a new issue