History log of /packages/apps/Email/src/com/android/email/activity/EmailActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d5f267ed250e7c3c97ca5e6ac1902340771d168c 15-Nov-2012 Mark Wei <markwei@google.com> Email Widget will use startActivity instead of startService so that it works
correctly from the keyguard.

Reverts the workaround in
https://googleplex-android-review.googlesource.com/#/c/250126/

Bug: 7545250
Change-Id: Idf9305b0e74e56c13bdcde5548db20f08b20bae2
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
458816b2c8c3bc684119adba8126584c45b468e8 07-Nov-2012 Mark Wei <markwei@google.com> Enable Email Widget on lockscreen. Work around keyguard detection issues.

Bug: 7488437
Change-Id: Id1eee0d295358a64ad5b6f31258acd66ec899165
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
acd8e7868b8ee3e1811fcf9bfdc4a9fbfab0cd0d 07-Nov-2012 Mark Wei <markwei@google.com> Revert "Enable Email lockscreen widget"
https://b.corp.google.com/issue?id=7488437#ISSUE_HistoryHeader13

This reverts commit 8c7f8d747c9d9c6267c72285c24db66cdb856bad

Change-Id: Idf12b445f751894e79b96dd0ee0a931d5a8bfcd5
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
8c7f8d747c9d9c6267c72285c24db66cdb856bad 06-Nov-2012 Mark Wei <markwei@google.com> Enable Email lockscreen widget

Bug: 7478749
Change-Id: I2cf0bfd58a928acd7a507ec06929e955ff653d18
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
bc47398187c6ffd132435e51d8d61e6ec79a79db 25-Sep-2012 Paul Westbrook <pwestbro@google.com> Merge Email1 into MR1

Change-Id: I45289d46b65faffc7a3a3dd46382899162f3aaab
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
cc0185f07c9198008d8dc685ae9979f3e35e8539 28-Jun-2012 Marc Blank <mblank@google.com> Manual merge of Email from jb-ub-mail

Change-Id: I564ddf433d371f45ba78a10f73bb182d484c56f2
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
d6decef1d2a8d14aa8a65229bc784e6fdbb31864 01-May-2012 Mindy Pereira <mindyp@google.com> Make search interaction match gmail.

shows results list in portrait on tablet.
shows split in landscape on portrait.

Since email currently has no concept of saving the currently
selected message on orientation changes, there are some issues changing orientation
and restoring to the correct search state.

fixes coming in the next cl.
Change-Id: Ib0b98c4018c2ae0fabc2c78dfce4d3a197837d4f
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
03cd72805dab0379ed255d151f1c17cc60655fc3 25-Apr-2012 Marc Blank <mblank@google.com> Revert to old Email app

* These are the last sources in the ICS-MR1 tree

Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
9227dbbf0f1c467762c44119d7cb1140c7191a88 19-Feb-2012 Marc Blank <mblank@google.com> Add back attachment loading callbacks for IMAP

* Remove newly unused code

Change-Id: Ifea2193deaf35734a031500c807ce9e3abd88fb1
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
656ebc2982437edae6b45198bde25e0e73fde39f 10-Nov-2011 Marc Blank <mblank@google.com> Don't crash in EmailActivity if no accounts exist

Bug: 5044497
Change-Id: Ied760ea385015a3c7df0a0d1e68ebc32dc5fb957
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
28e496daef8be15def1de3787845a22bed0c8b79 13-Oct-2011 Ben Komalo <benkomalo@google.com> Respect system font size in message list.

- This makes dimensions according to scaled font sizes, and also resets
the activity properly (invalidating drawing caches) when that font size
happens.

Bug: 5287961
Change-Id: I04cf117b027befd6a065edeadf95187f62fffc8a
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
0e6a521747970d5427f10c25cdc070d2341dc93a 08-Aug-2011 Ben Komalo <benkomalo@google.com> Move IntentUtils to emailcommon.

This is needed so Exchange can fire up Email activities.
No change other than the move.

Bug: 5122497
Change-Id: I6ee3f61654745fafd444314ecf75eb8ae6bbd01d
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
b8f672465a87362ccc6d8db2a94773a695cdac7d 18-Jul-2011 Marc Blank <mblank@google.com> Merge "Remove unnecessary EmailAsyncTask"
9f05f72ab3c92fd539dc6353a8fa1e59f5f09e4a 18-Jul-2011 Ben Komalo <benkomalo@google.com> Fixup settings entry points.

- include settings in menu in message view
- remove "show all mailboxes" from message view
- rename "Account Settings" to "Settings"

Bug: 5039294
Change-Id: Ic2dcbe8fe6e2bd10cc5d790a74c49a7159b59cab
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
f29221efc921b91ffbe89a790277d4ef56389749 17-Jul-2011 Marc Blank <mblank@google.com> Remove unnecessary EmailAsyncTask

Change-Id: Ifb13f2f57016191f7ef409aa656bf9cb840f42c9
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
1ddc2ca4a7e59189099d273bd1d364838dd7ce35 02-Jul-2011 Makoto Onuki <omakoto@google.com> Per-mailbox settings

- Use PreferenceActivity, in the old style, meaning without PreferenceFragment.
- If setting Inbox, change the account settings instead of mailbox settings.
- Use the DialogWhenLarge theme, meaning it's a full-screen avitity on the
phone and a dialog on the tablet.
- Also fixed the bug that we the menu items that are made invisible by
UIControllerBase may be made re-visible by the 1-pane controller.

TODO The menu item shouldn't be shown for non-syncable mailboxes.

Change-Id: I02b2faf6f593e1e2eb370217c27801aa58ca7e6c
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
50d934360d51392ac2aa6f11de4d6e1446cf78c9 29-Jun-2011 Makoto Onuki <omakoto@google.com> Fix the "onPostExecute executed even when cancelled" issue

Renamed onPostExecute to onSuccess and made sure it won't called
if a task is cancelled in time.

Also removed isCancelled(). To implement it right we should make sure
that onPostExecute() isn't finished when setting mCancelled, but it's a bit
of a pain to implement right, and we don't really have to use it.

Change-Id: I3a0baf504506ffc4952a5553f7098a8415842fa3
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
37c8a70d644ffc91a880f67a80a8558b4c53d5c3 28-Jun-2011 Ben Komalo <benkomalo@google.com> Introduce a SearchCursorLoader

This loader will abstract away the waiting for the controller to cleanup
the existing contents of the search mailbox

After some additional, to-be-done plumbing, I'd like
Controller.searchMessages to return some results info (like # of results
at the least) so that the SearchCursor returned can relay that
information to the client (which can then do a lot more interesting
things at that point).

Change-Id: Ifcba0ddf7170c56dac9f3b44128988a5aa4ca887
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
e10215eaff7c06b44b95de87ea46030065ecbee5 23-Jun-2011 Ben Komalo <benkomalo@google.com> Fix some things with shortcuts/widgets.

- All mailboxes will be shown when selecting a shortcut for a normal
account.
- Combined unread won't show up in shortcuts for combined accounts
- only inbox is allowed for IMAP/POP widgets
- all mailboxes allowed for EAS widgets

Bug: 4725896
Change-Id: I5c77c2f5443e330ed451179761b1d9c8c0dd7619
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
b0b6eb56f716f3ac0c153b1d4a1b7b2bdfba4335 23-Jun-2011 Ben Komalo <benkomalo@google.com> Search state improvements.

- actually fires off a new instance of our Activity for search, instead
of killing the old one
- exiting search mode from a search result now works and pops the
activity stack
- doing a new search clears the input box as expected
- the search term is actually shown at the top in the results list

Change-Id: Ia6b92042e26a2e44b8cb45fe1d5b3bfb40cfd6da
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
383d6ead227b6a6dea724820050df05c5e3581b4 20-Jun-2011 Ben Komalo <benkomalo@google.com> Use new message list in controllers.

Change-Id: Iaf4bf90add855f556a2e61521618924e13f60347
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
67cd9eb0d9e22c1df49b054877aff3c92d476ba1 22-Jun-2011 Ben Komalo <benkomalo@google.com> Merge "Introduce MessageListContext."
18410ed346e9969054797c9dca2dce48074008c5 20-Jun-2011 Ben Komalo <benkomalo@google.com> Introduce MessageListContext.

This will encapsulate meta information about a message list. Notably the
mailbox it's showing OR the search parameters that were used to build
its contents.

Change-Id: Ibe078a700860e7b9426c865e843e899f82306a96
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
f3d07fb3e6ea7f40537c8bc45daae38d2d31853e 22-Jun-2011 Ben Komalo <benkomalo@google.com> Consolidate some menu item toggling.

- fixes search button being shown for pop accounts
- cleans up some duplicated code

Change-Id: I498f0140eb2f3ffa7d3ad7f0da0e1d357f80e9b9
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
99401ebea71f4ff15fc017edd0ab98cad05bbcd6 18-Jun-2011 Ben Komalo <benkomalo@google.com> Remove a layer of callback in inbox finder.

I'm changing it so that inbox finding happens at an earlier stage so
that the UIController.open() methods can be simpler. Specifically: I
want them to just always accept a mailbox, and not have to deal with an
intermediate state where it's still looking for a mailbox.

Change-Id: I1c5be783859a3bee7e46007e778de13eb1685cbe
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
36f89da544a2a960ede047051c0d7b114d6d7717 18-Jun-2011 Ben Komalo <benkomalo@google.com> some brain dead typing shortening

Change-Id: I9342e8da52b412fd844b98ff76e61a9e4f9c5af7
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
ac11e3bb99aba883cbbdaccfc2524862a8989701 17-Jun-2011 Ben Komalo <benkomalo@google.com> Some re-arrangements in UI for search.

This moves the logic for performing the search closer to where it will
actually happen (i.e. on Intent resolution). A lot of this is still
temporary code. I will follow up with some larger changes to extend the
UIController API so it doesn't have to do hacks internally.

Change-Id: I1eb84d26ee3dcbfa0b68dbd37dcb0a6180452962
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
627bc6ed57ee06cc588e64ff959bfd7870b659b6 13-Jun-2011 Marc Blank <mblank@google.com> First implementation of IMAP search

* Broke up synchronizeMailboxGeneric into three pieces; it's still
horrible, but this at least stops my eyes from bleeding
* Remove unused method/tests from Folder interface

Change-Id: Ib4d979536be657137cf70ca535cf429d707be41b
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
0f2763274922e15d4baba7e7228f5765034b9c0d 14-Jun-2011 Makoto Onuki <omakoto@google.com> Add "search mode" to the action bar

- Instead of the search dialog, show the search widget on the action bar.
- Launches a new activity for search, but still uses the temporary search code
- Search still works only on two-pane.

Change-Id: I1d36ad3416c7dff9579cf37e40e49e31c9d99219
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
f5418f1f93b02e7fab9f15eb201800b65510998e 14-Jun-2011 Marc Blank <mblank@google.com> Move Account into its own top-level class

Change-Id: Ide7c991b7d4d418dbe17164421425bf898ba64ee
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
347ae23b6932fe994b03909bf90854888c438517 07-Jun-2011 Makoto Onuki <omakoto@google.com> New method to see whether 1-pane or 2-pane UI...

should be used.

From now on, UiUtilities.useTwoPane() should be used to see which UI
should be used.

You can pass the DEBUG_PANE_MODE extra when launching Welcome
to force which UI mode to use. (See the comment inside Welcome.)

Change-Id: Iefa3737e4979eb55f7986a9033ff9c6266d32f52
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
ab40c988216b32ed145c0cad45c25e9cf2509c85 06-Jun-2011 Makoto Onuki <omakoto@google.com> More work on fragment install/uninstall.

- Now we "uninstall" a fragment in Fragment.onDestroyView.
i.e. a fragment transaction is actually executed.
- Maintain our own "about to be removed" fragment list to avoid
double removal of a fragment.

Change-Id: I61328e0a09a7af00cbb0e6ba10a2d39c11b5c3dc
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
03b863d68e95169c95baac7cb50dce9bdeeedf95 03-Jun-2011 Makoto Onuki <omakoto@google.com> Merge "Implement 1-pane navigation."
3d9b8e76f0a396370a5c0be99a34bf7c24bd20dd 03-Jun-2011 Makoto Onuki <omakoto@google.com> Implement 1-pane navigation.

- Now that fragment useage is simplified (e.g. no new fragment
creation for nested mailbox navigation), most of the fragment
operation code for 2-pane is reuseable for 1-pane as well,
so moeved it to the base class.

- Temporarily added "Show all folders" as a menu option on 1-pane.

- Added "opener account id/mailbox id" to the message view fragment.
They are not used by the fragment itself, but they're used
by the UI controller for the back navigation. (And now the UI
controller doesn't maintain the current IDs by itself; rather
it gets them from the currently-active fragment.)

- Use async fragment transaction on 1-pane too, now that it always
gets the current state from the active fragment.

- Changed the timing when we install fragments from onAttachFragment
to fragments' onActivityCreated. So now all installed fragments are
created.

TODO Now that all installed fragments are guaranteed to be created,
remove all special trealment for the fragment argument accessor.
(They were meant be safe to call before onCreate, but it's not
necessary any more.)

Change-Id: I0ed100c3f0b460835b164c0dc908ea483a4e46ee
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
75a754660e33c5e18cacffff193983ba22a7b9b0 02-Jun-2011 Marc Blank <mblank@google.com> Update searchMessages API

* Store various search parameters in a new parcelable class

Change-Id: Iadec6a803b1bf17d89cd401c3fca1cb0ad3340d4
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
54c91f00d7f967690a80b992062e75c40182d088 17-May-2011 Makoto Onuki <omakoto@google.com> Use IllegalArgumentException, not InvalidParameterException

Because IllegalArgumentException is the standard one.

Change-Id: Ib4d0bfa88a3d4218148a7cb248d9baa2124a72ba
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
53ea83ebf91f820692e8fa8e781f5cc982dd94db 14-May-2011 Ben Komalo <benkomalo@google.com> Move Mailbox to top level class.

No other changes made.

Change-Id: I3d8f3c521dc0d902be313b25252b4b6a4a96e7ee
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
bfac9f2e8a13f6c719608a6948203bbef921c99f 13-May-2011 Makoto Onuki <omakoto@google.com> Move some of the log constants from Email to Logging

Change-Id: If9f4e4e3adcdef897a0d6a4e153bb446a8b24fdd
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
94331c96d9397ec451ae3a0a9f825cc4aca2b9d1 11-May-2011 Makoto Onuki <omakoto@google.com> Remove phone activities and implement one-pane

The primary purpose of this CL is to remove phone activities, so the
one pane implementation is very much temporary and primitive, but it
should offer minimal operations.

Change-Id: If57f81db7c605c95664d49044a5cc082beda59c0
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
f5492ea991d3b296b8158f6ea0e85cdbae5941ed 09-May-2011 Makoto Onuki <omakoto@google.com> Add 1-pane UI controller

Added the base class for the UI controllers and the 1-pane implementaion,
which is almost empty at this point.

The old phone activities still exist and will be used on the phone by default.
To use the new activity (1-pane EmailActivity) on the phone, use the following
comamnd.

adb shell am start -a android.intent.action.MAIN \
-d '"content://ui.email.android.com/view/mailbox"' \
-e DEBUG_PANE_MODE 1

Change-Id: Id1fe85d4517778afc967d7d5e17e1299dd1bfefd
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
c0042a22789be42db3db2b741b61e616bcb3a45a 09-May-2011 Makoto Onuki <omakoto@google.com> Merge "Extract action bar related code"
ad71b358c639b3dc24b5047338af6f6b6b211f65 05-May-2011 Makoto Onuki <omakoto@google.com> Extract action bar related code

...so that we can easily reuse it for the one pane UI controller.

The one pane controller should eventually have its own action bar
controller, but we can use it for the time beeing, until we get
more detailed UI spec.

Change-Id: I10c92963350dad9eb834fd7474c597aedad5eb80
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
c4cdb11d24c19428dd39f986b00c1a29e75e1505 03-May-2011 Todd Kennedy <toddke@google.com> Remove notification if messages seen off device

If we receive new messages, we may display a notification to the user. If
those same messages are read elsewhere (i.e. via a web client), we will
remove the notification.

Change-Id: Iba09afe01942e0deaac8210fd6f9b315b1c8c93f
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
075feb45562429cb8c7e19b43dc91e9778afeb24 04-May-2011 Todd Kennedy <toddke@google.com> Implement new nested folder mocks

Change-Id: I7c0c1d41b7a40d83e1237ba31d5f7949945c7e1e
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
166b90a2f2d958d60891edc09e1984b43d167deb 28-Apr-2011 Makoto Onuki <omakoto@google.com> Fix refresh animation

Bug 4355229

Change-Id: Idfbc46f03f9cd753811179df760633db52c6f09c
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java
8112732376d4cc033ee515a6531852ef42266929 28-Apr-2011 Makoto Onuki <omakoto@google.com> Move more UI stuff from activity to the UI controller

- Now all the UI stuff is owned by the UI controller
- Except temporary UI (exchange search and per-mailbox-settings)
- Except error banner
This should be moved too eventually, but I consider it as a low-priority.
I'll leave it as-is for the time being.
- Moved RefreshTask too. The spec for refresh has dependency to the UI.
(i.e. implicit refresh of the mailbox list may not be necessary for
the phone.)

Also renamed the main activity to EmailActivity.

Change-Id: I00585856bdacf69aa4e104178a5cf7352ff6d592
/packages/apps/Email/src/com/android/email/activity/EmailActivity.java