commit | 8183d4519ac4b576c0af41f787267db6eff2efb1 | [log] [tgz] |
---|---|---|
author | Vikram Aggarwal <viki@google.com> | Tue Apr 17 09:13:29 2012 -0700 |
committer | Vikram Aggarwal <viki@google.com> | Tue Apr 17 15:57:19 2012 -0700 |
tree | 9406063b315af6eaa58c2a521faaf9413feac262 | |
parent | a34c9a054c9aef6f83abe56515c132a31d71b3c8 [diff] |
Make the current account an index in ActionBar This fixes a few issues: 1. The currentAccount object and the accounts array are now in sync. 2. When we get an updated list of accounts, we update our current account. 3. Account checking is done based on URI rather than full object comparisons. Change-Id: Ifaae01efda0e6dfa57f009ab512aab8c3d6fa803