| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
b/16131478
Change-Id: I4fa9fe3fdb4edcf1e2d4d551d5d93f6301bc1eae
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Bug: 8788742
Change-Id: I97130b088956a25617e55f5454e980034461ce4a
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Drawer should close upon clicking the currently
selected folder or clicking the current account
while viewing the inbox.
Change-Id: I1f4827e9386289172ea3b1137c393dd1d6fc587c
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
changeAccount(account) is more indicative of its purpose than
onAccountChanged(account) which suggests that the account has
*already* been changed.
Change-Id: I7dd780e16b6a238814748bb429113dfe1069d9aa
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Change-Id: Ibbd412308283fd2c0cae0abbec0a43be1db1b3ad
|
|
|
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
|