At the moment, Android Sync enforces a limit of one Android Account per Android account type. Since Bug 772645, we've had multiple account types. We'd like to lift this restriction. There are several places this needs to be considered (not an exhaustive list!): * the Send Tab interface needs to expose all known Accounts * the preferences management needs to be truly "per Sync account" (Bug 761682) * Accounts should not be disabled just because there are multiple Accounts * upgrade handling should be tested with multiple Accounts
per liuche: UI stops user from creating a second account.
The clients database and the history_extension database needs to be per Account. And really, I think should wait for browser profiles.
Here's a tree that starts in this direction. I think it will be best to remove the spinner (not completed, anyway) and merge the clients from all Accounts into one big list. We can recover the account from the client in some way. That's better than surfacing the account separate from the list. I'm leaving this until we get clarity on browser profiles. https://github.com/mozilla-services/android-sync/tree/nalexander/bug-777800-multiple-Accounts/