commit | eb7d329e448eb42195f7c35b978035766b6f46e1 | [log] [tgz] |
---|---|---|
author | Vikram Aggarwal <viki@google.com> | Fri Apr 20 17:07:20 2012 -0700 |
committer | Vikram Aggarwal <viki@google.com> | Mon Apr 23 15:57:50 2012 -0700 |
tree | f7b944ccce3c821d44af6b737b73be25ff71fc67 | |
parent | f075c51f1589045a73d4fcd2855fd223cd8b02da [diff] |
Switch to default inbox on Action Bar taps. The Actionbar now calls onAccountChanged() only when the account is different from the current account. If the accounts are the same, it loads the default inbox for the account. Also, onActivityChanged calls switchAccounts() when switching accounts, and onSettingsChanged() when only the settings have changed. Fixes b/6366965 Change-Id: I417d34ecafe499a2df5de81ba7c3f83266e7973b