refactor: Subscribe to account manager ACCOUNT_ADDED
Description
Subscribe to account manager ACCOUNT_ADDED intent.
We want other components to be able to get notified when a new account is added in AccountManger.
We moved the permission declaration to AccountManager and the subscribers who want to get notified should use the new ACCOUNT_ADD permission.
Screenshots
Technical details
Tests
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/3457
10 commandments of code review
Summary by CodeRabbit
-
Chores
- Updated app permissions to use a standard permission for account addition.
- Modified the account addition receiver to reflect new permission and intent action naming.
Edited by Jonathan Klee