Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

5560-sync_mail_with_account_manager

Fahim Salam Chowdhury requested to merge 5560-sync_mail_with_account_manager into main

Description

When account add/remove from /e/OS Account Manager & /e/OS Settings, mail accounts of /e/OS Mail don't get updated according to it. This MR enable receiver in /e/OS Mail which will receive update when account added/removed from /e/OS Account Manager & /e/OS Settings & sync the mail accounts.

Issue(s)

Test environment

Download test build for beryllium r from https://gitlab.e.foundation/e/priv/os/build/-/pipelines/201613

Test procedures

Add/remove account from /e/OS Account Manager & check /e/OS Mail app if it get synchronized with this update or not.

Technical details

Use BroadcastReceiver because it makes straght-forward implementation.

& handling listener inside /e/OS Account Manager is also complex, because account removal also handled inside /e/OS Settings, so in that case we would have to call /e/OS Account Manager from /e/OS Settings first, then /e/OS Mail will receive the update via listener.

Screenshots

Check list

  • Self review
  • Test procedure explained
  • Tested on fresh install
  • Tested applied as an update
  • License
  • Internal documentation
  • User documentation
Edited by Fahim Salam Chowdhury

Merge request reports

Loading