History log of /packages/apps/UnifiedEmail/src/com/android/mail/providers/AccountObserver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ca9b3f6c4a6611ccf89016f63ecf672f2f008820 16-Aug-2012 Vikram Aggarwal <viki@google.com> Correct the list visibility in Two-Pane mode.

Fixes the following problems:

1. R.bool.list_collapsed is only meaningful in conversation mode,
while previously it was used even in conversation list mode
(b/6980648)

2. Dispatching conversation list visibility should happen when
entering conversation mode.

3. Change the list visibility before changing the layout to ensure
correct measurements.

4. Dispatching conversation list visibility change can be safely done
on the UI thread.

5. Consistent variable naming, and removing dead code.

Change-Id: Ic910b7adc7bdb1b599a7e650239d580d36c3478b
/packages/apps/UnifiedEmail/src/com/android/mail/providers/AccountObserver.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/providers/AccountObserver.java