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

Commit 558669da authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Utility methods for new contact editor flow

- shouldShowAccountChangedNotification() to see if we need to show the dialog.

- saveDefaultAndAllAccounts() should be called when saving a newly created
contact, with the account used to save it.  This saves all writable accounts
and the default accounts to the preferences.

- getDefaultAccount() to get the default account.

- createAddWritableAccontIntent() to launch the account setup wizard.
- getCreatedAccount() to interpret the result from the wizard.

- Also implemented Parcelable for AccountWithDataSet, so now it can be
put in a Bundle.

Bug 5355671

Change-Id: Ifb86c931b43fa307b65756cf24cbef4350374c67
parent 38959cf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment