[eDrive][persisted=false] STEP 1: replace InitializerService by Receivers
Description
When we will remove persistent flag of eDrive, background services won't run anymore. So we have to replace them with allowed component.
This MR only apply to InitializerService's removal.
/i\ This MR doesn't require to remove persistent flag
Technical details
Check this MR as example
Some improvement can probably be done.
I firstly thought to put most of the code of AccountAddedReceiver
into a dedicated AccountSetupWorker.kt
like in this MR but then I realized it was not necessary.
Contains also some variable & class renaming
Tests
Some unit test could be add for the canStart
method of AccountAddedReceiver
Issues
https://gitlab.e.foundation/e/os/backlog/-/work_items/1680 https://gitlab.e.foundation/e/os/backlog/-/issues/299