This should fix the crash 'Linphone Manager is already initialized' that happens sometimes upon starting the app

This commit is contained in:
Sylvain Berfini 2018-09-19 16:43:16 +02:00
parent f17b9c6fd1
commit 09869ab2ee

View file

@ -426,7 +426,7 @@ public final class LinphoneService extends Service {
AlarmManager alarmManager = ((AlarmManager) this.getSystemService(Context.ALARM_SERVICE));
Compatibility.scheduleAlarm(alarmManager, AlarmManager.ELAPSED_REALTIME_WAKEUP, SystemClock.elapsedRealtime() + 600000, keepAlivePendingIntent);
return START_STICKY;
return START_REDELIVER_INTENT;
}
@SuppressWarnings("unchecked")