History log of /packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
54022ee4c98f02401ca567e643f24ed42aebe203 07-Jul-2014 Tony Mantler <nicoya@google.com> Add Account/Folder change observer to AccountController interface

b/16131478

Change-Id: I4fa9fe3fdb4edcf1e2d4d551d5d93f6301bc1eae
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java
feb5b1ef0c9489c1ea727177f8bd423250b64990 29-May-2013 Scott Kennedy <skennedy@google.com> Fix hierarchical FolderListFragments

We were never using most of the args we set.

There are multiple active FLFs (drawer and subfolder). Both of these
are notified of folder changes, and then they check if that folder
exists in their cursor. If not, they switch you back to the account's
default inbox. However, the cursor for the drawer only has top level
folders, so this breaks. Now, we have a full folder list cursor in
each FLF, and this is used for that check.

Bug: 8575001
Change-Id: I47f17fb9c5d108b2388db5ba918f6413a018b414
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java
8a72b8590d9166ada55f69eeb083d2b8c5c915c9 02-May-2013 Scott Kennedy <skennedy@google.com> Only pop the user to the inbox when the drawer is enabled

Bug: 8788742
Change-Id: I97130b088956a25617e55f5454e980034461ce4a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java
a1b59dcb4a8aaef821aa2f5c996f715ef130c985 01-May-2013 Vikram Aggarwal <viki@google.com> Start the conversation list load early

Using a hacky boolean to keep state. Will switch to listening to drawer
state in a subsequent CL.

Bug: 8743683 Latency when switching accounts/folders
Change-Id: I94930b1886cd57c33cc1fa1e851aba0d1ebaa4d3
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java
77ee0ceaefaa9be699a20bfbe162f4c0ef83c6e1 29-Apr-2013 Vikram Aggarwal <viki@google.com> Get inboxes from the folder watcher

0. Create a folder object in the watcher, off the UI thread.
1. Pass the folder watcher back to the controller
2. Get the inbox folder directly from the watcher.
3. If that fails, revert to the existing logic.

Bug: 8743683 Latency when switching accounts/folders

Change-Id: I36baaab675ff65b43ce5ab1ad3485259a700ce1f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java
8bcb7c5c37ffd5a1a0c5f4efbcab084830d5e033 28-Apr-2013 Rohan Shah <shahrk@google.com> Close drawer when not changing folders

Drawer should close upon clicking the currently
selected folder or clicking the current account
while viewing the inbox.

Change-Id: I1f4827e9386289172ea3b1137c393dd1d6fc587c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java
0f73d905c5e935a5280f8eb647cc924c2854b7de 20-Apr-2013 Rohan Shah <shahrk@google.com> Remove drawer jank and load less aggressively

Added an observer that only allows account/folder
changes to continue once the drawer is closed to
avoid jank/awful fps that we saw before.

Bug: 8661186
Change-Id: I859882b40a8cdf86d0b825eb7e4203b4e3516ecd
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java
4cbb0da3cd701ee0c06237ded965648d68c663c8 19-Apr-2013 Andrew Sapperstein <asapperstein@google.com> Properly implement clicking active account.

Fixes b/8656442 while preserving fix of b/8470761.
Instead of reworking changeAccount, we now have a second
method called switchToDefaultInboxOrChangeAccount
which is called by FolderListFragment. It does the folder-switching
specific code before going into changeAccount. changeAccount is
now back to its original code which is also run when you open
from a widget or notification.

Change-Id: Ib4b6f68e7464e947028cc870625fe6a9d8afe00e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java
5fd8afd5c1b40580c069a5a97039ca0601208216 13-Mar-2013 Vikram Aggarwal <viki@google.com> Remove unused interface and rename method

changeAccount(account) is more indicative of its purpose than
onAccountChanged(account) which suggests that the account has
*already* been changed.

Change-Id: I7dd780e16b6a238814748bb429113dfe1069d9aa
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java
07dbaa6989ea5c63ecf79b5ce7ec3a6a18a1ff35 12-Mar-2013 Vikram Aggarwal <viki@google.com> Ugly first cut of putting accounts in the FLF

Things to be done which will be checked in soon:
1. Removing some of the ugliness around using a FolderItemView.
2. Reducing the amount of boilerplate when registering observers.
3. Pictures on the accounts?
4. Unread counts on the accounts.
5. Selected state on the account per UX spec.
6. Collapsing the existing list and expanding new list as per UX spec.

This is a known ugly solution to unblock the effort of others.

Change-Id: I8659232ce5508c9f766e5e8da69e21ad9ec24f32
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java
69a6cdff8afde77ec9bcd75a5651ee212344019e 09-Jan-2013 Vikram Aggarwal <viki@google.com> Allow veiled address pattern to be updated through settings

Change-Id: Ibbd412308283fd2c0cae0abbec0a43be1db1b3ad
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java
7c401b7896910c00e6234e8774aab0be45740d32 14-Aug-2012 Vikram Aggarwal <viki@google.com> Get the Account through a listener

Every object that needs an account gets it from the ActivityController
by registering for future updates. This should reduce some of the
headaches with account objects going out of sync.

Fix b/6969950

Change-Id: I0449b482ecd84bdb947304db5f0504c77dd1dc7a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/AccountController.java