luiisca / floating-views

Kotlin library for effortlessly creating customizable floating UI elements in Android apps.
https://central.sonatype.com/artifact/io.github.luiisca/floating.views
MIT License
8 stars 1 forks source link

explore service restarts for quickly recovering from the system killing it #33

Open luiisca opened 5 months ago

luiisca commented 5 months ago

from android docs:

if your service is started, you must design it to gracefully handle restarts by the system. If the system kills your service, it restarts it as soon as resources become available, but this also depends on the value that you return from [onStartCommand()](https://developer.android.com/reference/android/app/Service#onStartCommand(android.content.Intent,%20int,%20int)). For more information about when the system might destroy a service, see the Processes and Threading document.

linear[bot] commented 5 months ago

GIT-402 explore service restarts for quickly recovering from the system killing it