History log of /packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b19a76c4525feca3f65483dc8c12b0299d4b36aa 23-Sep-2011 Ben Komalo <benkomalo@google.com> Don't show move to dialog until data is ready.

The data is usually really quick, but it's enough to cause it to flicker
if we set it with an empty adapter first.

Bug: 5087874
Change-Id: I2fc37751edcaa8ffeee144b85417b48e94b4ba4f
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
81a153463bd9d2e4f71a0985a102548b16a88ec0 20-Jul-2011 Ben Komalo <benkomalo@google.com> Remove "Move" action on POP.

Bug: 5010614
Change-Id: If0a94840e9dc104566ba39d2e3240883dab5bba0
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.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/MoveMessageToDialog.java
0f747de9a71fecbcb24f5c9fca3d73f1683affe0 10-Jun-2011 Todd Kennedy <toddke@google.com> Don't include sourc mailbox in the move-to dialog

When moving messages using the move-to dialog, exclude the source folder from
the list of valid targets.

bug 4585929

Change-Id: Id02c05f38d1623f0c059d84e50ee1b51a1cdec1a
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.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/MoveMessageToDialog.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/MoveMessageToDialog.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/MoveMessageToDialog.java
fdca4a6a5788999c45f0edf1d51e651636c2176f 28-Apr-2011 Makoto Onuki <omakoto@google.com> Removed "global loader ids"

I don't know what I was thinking when I added them to ActivityHelper,
but DialogFragments have their own loader managers (because they're
really fragments), so loader IDs in it won't conflict with anything.

This class used to use (mistakenly) host activity's laoder manager,
which was probably the reason for my confusion.

Change-Id: I7cd4d08b77ce8ea74fbf13b3273692da791ed23e
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
4e033e0ac79d85bc8df8e52bdfc8b1fc9ad29f3e 26-Apr-2011 Makoto Onuki <omakoto@google.com> Fix "move to" dialog.

- Now we always use a fragment as a callback, rather than assuming the parent
activity implements it.
- Use a generics trick to make sure the callback fragments really implements
Callback.
(Might be abuse of a language feature, but it's at least safer than runtime
check...)

Bug 4314669
Bug 4345496

Change-Id: If4048d456b298784097e202cffab170177ac7b2d
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
27cf8b5ffe589eff05e1baf5c703a93f48787d48 26-Apr-2011 Todd Kennedy <toddke@google.com> Display full pathname in move-to dialog

With the recent changes to hierarchical folders, the move-to dialog is
quite unusable if you have multiple child folders with the same name.
While waiting for UX to decide on the exact display, make a few quick
changes to display the fully-qualified pathname instead of just the
child folder name.

Change-Id: Id5c1cc98364fbf7a82a05ac30e944507c7d16320
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
ef844d86f1e51d2b5b0ffcc59dcd605d6acc6ef5 01-Apr-2011 Todd Kennedy <toddke@google.com> Update method parameters

Only pass along the things we need. For the message dialog, we were passing
in an Activity that was not needed. In the ActivityHelper, we were passing
in an Activity when all we needed was a Context.

Change-Id: I9a93ae07ff2bbdce9466c7e991410c87fb610673
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
ad7dc464db6421d3cda62204124dedaefb0f035d 01-Apr-2011 Todd Kennedy <toddke@google.com> update mailbox adapter callback

the callback method name was not appropriate in all situations. This has been
renamed to just "onBind()" and will still be invoked whenever data is bound to
the adapter. also, create an empty callback that can be used if the adapter
doesn't need to be informed when a bind occurs.

Change-Id: Ifaa4aea3a59734557651270330ca9439e3ea4ab4
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
74bf57cfafde4095ee67985255cfaa8b1453115e 31-Mar-2011 Todd Kennedy <toddke@google.com> Create separate adapters for mailbox lists

There are currently two places where we use a mailbox list -- in the main
view and in the "move to" dialog. We've replaced the single, modally
configured adapter with two specialized subclasses.

Change-Id: I5dfd5ccd435fefbab4b7647c2bd7a14818f73bf3
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
a685d3b0191f472de9902b3d5590fc3e8408400c 15-Mar-2011 Andy Stadler <stadler@google.com> Reduce chance of crash when dismissing dialogs asynchronously

* Caught & diagnosed by crash while checking settings
* Also possible in MoveMessageToDialog

Bug: 3412875
Change-Id: Ie78c61cf5ca10ce1eedc25ba2eb97ed0ac5bc615
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
31d9acbf0623872f9d4a2b3210b5970854b654c7 12-Feb-2011 Marc Blank <mblank@google.com> Email split, part huit: Refactor constants, clean emailcommon

* There are three pieces to this CL (sorry):
1) Move and/or rename some constants into emailcommon
2) Move Utility to emailcommon, moving the few UI
related utilities back into Email (FolderProperties
and UiUtilities)
3) Remove all references to resources from emailcommon
* The three pieces relate in that, between them, they allow
the emailcommon static library to compile cleanly

Bug: 3442973

Change-Id: Ic5e3abaa2a1b36999e0b6653c6c2134ea1bd544f
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
a7bc0319a75184ad706bb35c049af107ac3688e6 10-Feb-2011 Marc Blank <mblank@google.com> Email split, part six: EmailContent

* Moved EmailContent to emailcommon

Change-Id: Ib3db1bfcfe74554c0e5afd3cfce6d72f26e9aeb9
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
d4df1cf65aea6df33fa17680457c28abd73bd543 02-Feb-2011 Makoto Onuki <omakoto@google.com> Don't mix up loader managers

- Don't use activity's LoaderManager in fragments. Fragments have their own
loader managers, and using the wrong one causes loaders won't get reset()
when the owner fragment gets destroyed().

- Don't destroy loaders by ourselves.

The combination of these two issues caused the problem where the loader
callbacks wouldn't get the reset event, which resulted in the adapter
holding a closed cursor.

Bug 3412079

Change-Id: Ib7441565ea69adb08eb74845b0996c7b8ae6f53b
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
2b59ecaebcc8012d307080f3f345692fa94e679e 23-Jan-2011 Dianne Hackborn <hackbod@google.com> Remove use of old theme name.

Change-Id: I0a08171b3068abeb57c973074b37aaf3c87ff001
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
a8ef07fabc0a8ef07896d5ad4f795ad108f4f3dd 10-Jan-2011 Andy Stadler <stadler@google.com> Cleanup STOPSHIPs in strings.xml

* cleaned out old placeholders
* moved a bunch of unused strings into placeholders
* moved three strings into active status.

Bug: 3335092
Change-Id: Ibb0690f7cc9ddd1b8f7f337964faff6471be880c
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
8b9f2a7284337bfb23d5e2f8de9f1c70cb9532a1 21-Dec-2010 Dianne Hackborn <hackbod@google.com> Update to use new Loader callbacks.

Change-Id: Ib478c2f2314bbae4a380539e22892d85dd9a34b5
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
0698f4027f099a017ad7815f16572ba422d3413d 20-Dec-2010 Dianne Hackborn <hackbod@google.com> Update to new Loader APIs.

Change-Id: Ic228f7b785f0d902a0188cfe995006b73b8a3c8b
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
28d6e09575cc5b9091c5d29990792db3465cccf0 17-Dec-2010 Makoto Onuki <omakoto@google.com> Follow-up to the loader API change

This should fix the "attempt to re-open an already-closed object" exception
from SQLite.

(destroy()s don't have @Override becuase the base method is now depricated
and will be removed someday.)

Bug 3288666

Change-Id: I4780f6c8d89c7204b266608462c0833ad5af4e5f
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
80769cefb3f34dfeccb38fb5b67b3ced172b830e 16-Dec-2010 Dianne Hackborn <hackbod@google.com> Prepare for some changes to LoaderManager/Loader.

Sorry it is a bit ugly, it is to allow this change to be
checked in prior to the first stage of the framework change
without breaking the build.

Change-Id: I1828579019ac0325d19c070a4c62cd79549e7d51
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
8197d847343c6c20e6a98b2354bde5392b1c4542 08-Nov-2010 Makoto Onuki <omakoto@google.com> Don't call dismiss() in onLoadFinished().

It's prohibited. Instead use a Handler to delay-call it.

Bug 3173317

Change-Id: Ic5ef245a65b3a4eeebabcebd6323b9a7921f34d5
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
c81bef672089654e6da3babbeb0172bd636564b2 14-Oct-2010 Marc Blank <mblank@google.com> Drag & Drop "move to folder"

* Drag & Drop "move to folder" preliminary implementation
* Use "drag handle" button to initiate drag
* Use the message list item itself as the drag thumbnail for
one item; "Move N messages" for multiple (not implemented)
* Disable MailboxList update during drag
* Use ListView itself as drag/drop target

Bug: 3138004
Change-Id: I9243e4f583cf91caa1b9dd04fd64d52e8b28fa30
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
56034cab2022fe78ccbf4635617b1a54b4cc16b8 01-Oct-2010 Makoto Onuki <omakoto@google.com> Fix "move to" dialog style

- Pass the correct context to the adapter to make the text visible.
- MailboxesAdapter itself now has two modes (normal mode for MailboxList,
and "move to" mode), and use different views for them.

Change-Id: I2bd8a7d3a99d7fa3a047e653a77ec958e37e563b
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
767f9fe2ebcca7eee20f2a048f33a96ad4bf53da 02-Sep-2010 Makoto Onuki <omakoto@google.com> Implement batch move.

* UI is still temporary
* In this version, we check if the selected messages can be moved *after*
you click "Move", rather than disabling the button beforehand.

Change-Id: Ief2864d2a513001847844963b2b0cb6b714e8667
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java
62f9c4d2803382f89cf8a19ed12b53b639d547fe 25-Aug-2010 Marc Blank <mblank@google.com> Temporary UI for "move to folder"

* Many TODOs left in code.
* Only supports moving 1 message. (from message view)

Change-Id: Ibdec3163382345a7096c2cba51f448d69a9720af
/packages/apps/Email/src/com/android/email/activity/MoveMessageToDialog.java