Loading play-services-core/src/main/java/org/microg/gms/checkin/CheckinService.java +3 −1 Original line number Diff line number Diff line Loading @@ -95,7 +95,9 @@ public class CheckinService extends IntentService { } catch (Exception e) { Log.w(TAG, e); } finally { if (intent != null) { WakefulBroadcastReceiver.completeWakefulIntent(intent); } schedule(this); stopSelf(); } Loading play-services-core/src/main/java/org/microg/gms/gcm/McsService.java +1 −1 Original line number Diff line number Diff line Loading @@ -320,7 +320,7 @@ public class McsService extends Service implements Handler.Callback { WakefulBroadcastReceiver.completeWakefulIntent(intent); } else if (connectIntent == null) { connectIntent = intent; } else { } else if (intent != null) { WakefulBroadcastReceiver.completeWakefulIntent(intent); } } Loading play-services-core/src/main/kotlin/org/microg/gms/gcm/PushRegisterService.kt +6 −5 Original line number Diff line number Diff line Loading @@ -112,12 +112,13 @@ class PushRegisterService : LifecycleService() { } override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { if (intent != null) { WakefulBroadcastReceiver.completeWakefulIntent(intent) Log.d(TAG, "onStartCommand: $intent") lifecycleScope.launchWhenStarted { if (intent == null) return@launchWhenStarted handleIntent(intent) } } return super.onStartCommand(intent, flags, startId) } Loading Loading
play-services-core/src/main/java/org/microg/gms/checkin/CheckinService.java +3 −1 Original line number Diff line number Diff line Loading @@ -95,7 +95,9 @@ public class CheckinService extends IntentService { } catch (Exception e) { Log.w(TAG, e); } finally { if (intent != null) { WakefulBroadcastReceiver.completeWakefulIntent(intent); } schedule(this); stopSelf(); } Loading
play-services-core/src/main/java/org/microg/gms/gcm/McsService.java +1 −1 Original line number Diff line number Diff line Loading @@ -320,7 +320,7 @@ public class McsService extends Service implements Handler.Callback { WakefulBroadcastReceiver.completeWakefulIntent(intent); } else if (connectIntent == null) { connectIntent = intent; } else { } else if (intent != null) { WakefulBroadcastReceiver.completeWakefulIntent(intent); } } Loading
play-services-core/src/main/kotlin/org/microg/gms/gcm/PushRegisterService.kt +6 −5 Original line number Diff line number Diff line Loading @@ -112,12 +112,13 @@ class PushRegisterService : LifecycleService() { } override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { if (intent != null) { WakefulBroadcastReceiver.completeWakefulIntent(intent) Log.d(TAG, "onStartCommand: $intent") lifecycleScope.launchWhenStarted { if (intent == null) return@launchWhenStarted handleIntent(intent) } } return super.onStartCommand(intent, flags, startId) } Loading