change to generalize package actions before and after processing.
This is necessary for several operations like using sigstop before backup and sigcont after backup.
It doesn't hurt to have both, even if one may be empty.
Note: this version also disables killing of apps as discussed.
There are several reasons to not kill them:
unsafed Documents may be lost (if sigterm does not map to lifecycle events, I don't know)
some apps may immediately restart, resulting in an even worse situation (file operations while loading)
services may also restart
apps already got onPause, because OAndBackupX is in front
within my ~550 apps there are a lot that stop the backup when killing them, e.g. Download Manager, External Storage, ...
Anyways, all tested variants are in the patch, you can simply enable the line with "kill -TERM" if you insist on the previous behavior.
change to generalize package actions before and after processing.
This is necessary for several operations like using sigstop before backup and sigcont after backup. It doesn't hurt to have both, even if one may be empty.
Note: this version also disables killing of apps as discussed. There are several reasons to not kill them:
Anyways, all tested variants are in the patch, you can simply enable the line with "kill -TERM" if you insist on the previous behavior.