mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-15 03:46:23 +00:00
d8049d4bfc
* Fixes service issues - no more crashes after start of a service with battery optimization enabled - no more service restarts after the app exit with disabled private notifications * Disable service restart even after reboot if the user didn't allow this * [Experimental] Disabling logic of start up process from application process. The same is enabled in a service anyway - every application process creation makes the service running even in situations when it's not needed. For example, RescheduleReceiver from WorkManager receives boot completed event and it triggers service start up * Returned unneeded part of code. It may be useful (in theory) if user's device doesn't allow any services to be started (it's something that should never happen) Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>