History log of /packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c197d4c5bfe62255ca664d7029367ef45f946219 13-Sep-2013 Tony Mantler <nicoya@google.com> Add extra checks to widget to make sure it clears when the account goes away

b/10612187

Change-Id: Ica81e8f1a2a1e1c86a2d883e81888cb1966edddc
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
b17c7e8cde9420070cb5133fab181e4f77779331 03-Aug-2013 Mark Wei <markwei@google.com> Use ViewFlipper to flip between account name and unread count.

Bug: 10074523
Change-Id: Id613e8a4439790de2ca56acd007300d66e9a63ea
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
747e678d20e99ddd17953ff4530d2ee3f1c6cfc7 30-Jul-2013 Mark Wei <markwei@google.com> Widget refresh.

Different fonts and alignments. Different header background.

Todo: remove unread count and decide if we want to cycle between account name
and unread text.

Bug: 10074523
Change-Id: I85968446e135cc896c9f20dc049466cb8811e4fa
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
259df5b9e11908c8ef7c91483924891dd96b3c27 11-Jul-2013 Scott Kennedy <skennedy@google.com> Add a new FolderUri

This will allow us to add query parameters such that Uris will still
appear to be equal, regardless of differences in the parameters.

Bug: 9780067
Change-Id: Iafe39763b3ee448cf02536df89caa736500dfdaf
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
3b965d78774a42358ce6bbdcc43b4c8df130a60e 25-Jun-2013 Scott Kennedy <skennedy@google.com> Clean up a bunch of warnings

Bug: 9565838
Change-Id: Ie3a380581e81c63aaa0764875c55bfdccd5f2b13
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
d848eb838b7616dbd5d26711528c4970758acbec 28-Apr-2013 Andrew Sapperstein <asapperstein@google.com> Only show unread count in widgets when non-zero.

Previously, the text view that held the unread count
in the widget was always visible. Now, we show it whenever
the unread count is not 0 and set the visibility to GONE
whenever the unread count is 0. This gives extra space
to the folder name and account name whenever the unread
count is 0 (much of the time). Fixes b/8743911.

Change-Id: I6b6c4ff4d21f1883f0bef953a8ff3022b8ec1e3a
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
f8b76a68e46d834c46d14b42b3488293e57e26b1 20-Apr-2013 Mark Wei <markwei@google.com> Fix for Gmail widget NullPointerException. Instead, it will leave the widget
unconfigured.

Bug: 8526785
Change-Id: If8c7923a9721d9d0bb161d5ebc1bc3350e6251dc
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
48cfe4613549cafdf36e2a524afba730522bf291 10-Apr-2013 Scott Kennedy <skennedy@google.com> Parse Folder out of intent

If we had a full Folder object as an extra, but no URI, we opened
the account's default inbox, instead of the desired folder.

Bug: 8526579
Change-Id: I64d1bdecea11e39fde5657910a3b3b2e22cd411a
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
8e99b95bf01c63f733fbd80c28c684350c7d702b 28-Mar-2013 Alice Yang <alice@google.com> Fix NPE in WidgetService

Because we changed the format of widget intents to use uris (folderUri
and folderConversationListUri), old widgets (installed in UR8) and
any intents that are persisted (by the framework) were triggering this
NPE since they don't have the uri extras set. This is a temporary work
around where we still use the old folder extra in the intent. A proper
fix would be to migrate the old intents to the new format.

Bug 8479183

Change-Id: If7eeb8e6ca84db302c32becabdee9a0ed05b0916
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
67aa9e5162a15fb8b46b4113ac627cd20668f095 20-Mar-2013 Scott Kennedy <skennedy@google.com> Exclude all inbox labels when we're viewing an inbox

Bug: 8426563
Change-Id: Ib9256fcdb658cb3df9b67485f7768f75bb8b6539
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
b39aaf53a555c1046ef31b3fecf15d086acca013 07-Mar-2013 Scott Kennedy <skennedy@google.com> Make widgets work again

We can't send Folder parcelables to RemoteViews, so let's just send
what we need: two URIs and a String.

Bug: 8330949
Change-Id: I67bf7668d5eeef3f3b2e6225cf8697a4c5533f16
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
09400efa442422299acf21abe20e3470f9d965ab 07-Mar-2013 Scott Kennedy <skennedy@google.com> Add a version code to all Intent URIs used by notifications

Because the Parcel format changed for Folder, and PendingIntents get
reused, the unparcelling would crash after an upgrade of the app,
until the device is rebooted.

By appending ?appVersion=123 to the URI, we can ensure none of these
are reused by a different version of the app.

Bug: 8324950
Change-Id: Ic616f2d57aa5ef5276bf44f9b9d05bbe44c2c011
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
b10212ef23a4e2317fc43c62dff9ad177b5bcf2c 23-Feb-2013 Scott Kennedy <skennedy@google.com> Remove Folder string serialization

Bug: 8274830
Change-Id: I2669aeb4565458f665becef2fdd4e40bc1fc0093
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
d5fd04656f364a209703a67debc33d91dabfb83f 26-Jan-2013 Scott Kennedy <skennedy@google.com> Prevent the leaking of an IntentReceiver

Only cache resources (and setup the related IntentReceiver) upon
request, so we don't leak it if the first call to the method is from
a Service.

Bug: 8029270
Change-Id: I5a4d8825cbbc53c2b8c6cd68a4fe5cd3e5215d0c
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
69495b0a5551aaf4b70b6b29348946b730cfc3e8 08-Jan-2013 mindyp <mindyp@google.com> Reduce time it takes to render a conversation item

Re-use an existing folderdisplayer instead of recreating one each time
Remove unnecessary TextPaint call
Don't do html to plain text on the ui thread; its done when processing senders
Change-Id: Id1b4fa93b2b082fd9f69e473d6d3ee55bd852684
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
c76ab94c69e09ade8036f47d370d56902f0e1f6e 03-Jan-2013 mindyp <mindyp@google.com> fixup algorithm for which sender photos we need to show pictures for

Algorithm:
1) show pic for first sender
2) show pic for last 3 senders, ellided or not

Also, messages from "me" should show my contact icon

Make sure we just use characters for the tiles:
fixes b/7959815 Problems with sender "letter"
Change-Id: I1b713df0cd12b3ca324fa4f6492ed337f867a434
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
6d11c8fbca5d54a013d78c85d6eb28f590093e3c 03-Jan-2013 mindyp <mindyp@google.com> Sender emails are now available. Use the senders email to lookup their contact photo.

Creates the DividedImageCanvas, a light weight way of collecting and rendering
sender images to a canvas than a standard android view.
Also, allows us to get bitmap processing off the main thread in a future perf related cl
TODO: perf pass;
implement correct visual design for letter tiles once available
Change-Id: I67b8f74f40703543609d1011098062c98e3e42cc
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
88acafa03a87f5c84b959697d13b81df8f11a96e 21-Dec-2012 mindyp <mindyp@google.com> Make it possible to get the emails of senders we want to display photos for.

Change-Id: I32bdf23f1fdb8b94d2f0abc4d4bb05d2e2d04648
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
8c8c9927c5b1ec2cb26ee20c3e755121723b979b 08-Nov-2012 Andy Huang <ath@google.com> prefs cleanup

This is purely a refactor with no intended functional change.

Start over with a new Persistence class. New name is MailPrefs.
No relation to Gmail's Persistence class to minimize API
confusion across unified vs. gmail stores and gmail vs email
apps.

So far the only consumer is the widget provider and the
"what's new" version checker, so no support for
account-specific prefs yet. Move all widget pref and
"what's new" calls to MailPrefs.

Bug: 7497168

Change-Id: I4008fb6c180067d10654391c5c8fa86e105db3bb
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
5707f53aecf206a92ff7e90cb48e483f54b0845a 06-Nov-2012 Mark Wei <markwei@google.com> Fix Widget flashing "No conversations." before conversations are loaded

Bug: 7482412
Change-Id: Ice587dc2a4c04a83bfd17c2d4ecdbc328814ea63
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
525eb4024539661766ac06432d91ef999206cc0d 02-Nov-2012 Scott Kennedy <skennedy@google.com> Fix some SharedPreferences issues

In I7b11bd0d17e6cc184b67c8c943531146fc964b49 and
I06330423736835af397e3dbd000ecdcf33c14eef, I caused some prefs to
sometimes use a file with the wrong name. This should fix that.

Change-Id: I417805029e489c96dd0671d64ec825383a473b0b
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
f9568dcc8ebf8d975c9a9c136fe2b15f58fc8930 25-Oct-2012 Mark Wei <markwei@google.com> Show indication for empty folder in widget.

Bug: 7401786
Change-Id: I1cce3415d79fb6e372f47fc513e3aaa4ace63e81
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
61c52118856c519e1fb96c5a9c703bba581569a5 17-Oct-2012 Mark Wei <markwei@google.com> Tweak widget layout

Bug: 7340720
Change-Id: Ice52bd551e6520c27458b1fe8a117d90288ebb32
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
ce499a669a8008397e3fd92e3b0c5e44e0ae4ab6 05-Oct-2012 mindyp <mindyp@google.com> HtmlParser not thread safe; let widget supply its own version of the parser/tree builder

Fixes b/7292288 gmail crashes on launch/loading msg

Change-Id: I2a7f3c6c8593ff5f704c9df6baec9125f9c954a6
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
7ae042ef2a23bf4c87f3edfcd71f7ebc784174ab 27-Aug-2012 mindyp <mindyp@google.com> Serialize the account just like we do for ALL THE OTHER CASES

we always put account in extras in a serialized format elsewhere

Do it here, too
Otherwise, it comes in serialized (json) but we look for it as a parcelable
but the upgrade serializes it...too confusing! Just use the same method everywhere.

Fixes b/7013037 Compose new email shortcut on Gmail widget incorrectly populates from and to

Change-Id: I3bb88f542fe802cdfcbbe3da1eb8207602110d44
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
a3831fb1589226a14adc67657f16204718c8ac74 08-Aug-2012 Paul Westbrook <pwestbro@google.com> Fix NPE

Bug: 6949444
Change-Id: Icdc44ebb7715053eed79e4daac923eb4cc705b62
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
ed00e05911f63d47104ffd8ebc3d8ddabceb238e 06-Aug-2012 Paul Westbrook <pwestbro@google.com> Reduce blank widget headers

Make sure to not call updateAppWidget if either the folder name
or account name is empty (updateAppWidget causes the app widget state
to be persisted)

If an empty string is passed to configureValidAccountWidget, don't
update the remote view, as the remote view should have valid data

Log the cases where empty strings are passed to these calls to
track down these cases.

Bug: 6889964
Change-Id: I1838838454b188f406cdefaa6539743d3144974a
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
aa86405afdef0f38894c166d3a53f452a478bec3 02-Aug-2012 Mindy Pereira <mindyp@google.com> Jsut let the view ellipsize!

Fixes b/6910770 track any incorrect senders formatting bugs
@pwestbro's widget case
remove unnecessary status from widget view
Change-Id: I232dfc37f8090736d9b3c8d4103c309ef01c5189
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
178ac28d19065ceca8b293e13cf291d685080aa6 01-Aug-2012 Mindy Pereira <mindyp@google.com> Fixup widget senders, styles, subject.

Fixes b/6910371 bugs with widget senders formatting

Change-Id: I2c32809d0da57ffcebae4dab73e9e1e2e7938fdb
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
b1cbb89f72631bb7e34822b98e8d0842ebd01b83 31-Jul-2012 Mindy Pereira <mindyp@google.com> Use priorities to decide who to elide.

Not sure its perfect, but its LOTS better
Test cases in a later CL
Fixes the subject showing in sendres in widget

Change-Id: I711ff6d8b1343aa01e5a38193a76467910425a9d
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
7fad2fda87f86692fcba1314f01b56265de67f2e 31-Jul-2012 Mindy Pereira <mindyp@google.com> Remove merged formatting logic.

No longer used.

Change-Id: I0bb6266ca100e4023b4ba4f214cbc0cdb74fc818
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
7b6d03db55338cbf9717896f99eb20d02bf371e4 30-Jul-2012 Mindy Pereira <mindyp@google.com> Serialized strings are faster than json

Also, cleaned up/ reduced the number of Folder methods
that do the same exact thing.
From ~24ms to ~12ms/conversation now
AKA in half AGAIN
Change-Id: Ibdc67fe94d66ce32d933b4e18e9581d8c71d9974
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
85c4a77abd849f5f3f0236d51554bb1bb99fe8f6 30-Jul-2012 Mindy Pereira <mindyp@google.com> Cache displayable folders.

Change-Id: Ibb2766e5a197a86adb0a456dc1fb58cdd98fd610
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
c3efca18f09904f4ce39395169559c5d82bd3d06 28-Jul-2012 Mindy Pereira <mindyp@google.com> We weren't using the cached header models correctly.

This should speed up scrolling since we allocate fewer objects.
Also, fixes the issue where we were not properly creating a new layout
when the read state of a message changed in the case where a user opened
an unread message and then went back. Now, all the senders are properly
bolded/ unbolded.

Removed the deprecated conversationInfo.sendersInfo, which was only being used
by gmail, and had been replaced by using the proper messageinfos
Also, performed some surgery on the widgetviews so that it acutally
uses the messageInfo from conversation info

Change-Id: I43fde9cd23ebc12f2de68e0d18b941304b4a2be7
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
53f262e1c93fc20c9c44d46ebb9fc1b5a44cd06b 27-Jul-2012 Mindy Pereira <mindyp@google.com> Use cached rawfolders.

Change-Id: I4b70c2761a699541b98a02a24f8cd017df13433f
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
127d1fc15dc6a40e8dc9c4d4b003f4bfa915548f 25-Jul-2012 Paul Westbrook <pwestbro@google.com> Move common logic to UnifiedEmail

Fixed a case where if the loader returns a closed cursor,
we don't keep a ref to the old cursor

Bug: 6870201
Change-Id: I90ca79d4e7e2ec40e040f7d2ef72f155420a4e6a
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
7be40b04b7a573f6c287a32f2437a2cce9afac51 25-Jul-2012 Paul Westbrook <pwestbro@google.com> Don't use a closed cursor

Bug: 6878993
Change-Id: I8cd3079d20988f8c6c51bd4f9b0215562571d854
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
4880b5dea0335c887e6e6e5535365c3a313b96b7 24-Jul-2012 Paul Westbrook <pwestbro@google.com> Fix widget updating

Changes that happened by the user, from the UI, were not causing
the widget to get updated. This was because the UI provider contract
is to suppress notifications that where performed by the user
from within the app.

Now a client of the UI provider can specify that they want all
notifications

Bug: 6870004

Change-Id: Iae0e27fd8b4dca7cd690f3b898d3861b38d92f95
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
50e1b09e6e5bb8e1993d98fb14c690de743b53df 21-Jul-2012 Paul Westbrook <pwestbro@google.com> Improve reliablity of widget

The widget service held a reference to a single cursor, and
just called requery() on it when attempting update the data. requery()
can fail, and if it does the cursor is invalid.

Now, use a CursorLoader to get updated cursors

Bug: 6819588
Bug: 5763272
Change-Id: Ic33d59560a24d66e5d0d586e7061b422eace70f9
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
648df3f0b0ebcd3c4adf907d70ff0938e5dfc78f 19-Jul-2012 Mindy Pereira <mindyp@google.com> JSON objects for conversation and messageinfo.

Used by UI to pre-update sender fields instead of waiting for a content
provider updatee

Step 1. Not checking in until all the CL's are ready to go.
Change-Id: Ib75e4f875fde7989e43fe15297030a4c7e7241b5
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
a39f728390ba2cc849b27260be76753c8a58a085 19-Jul-2012 Paul Westbrook <pwestbro@google.com> Restructure the widget code

This restructuring allows us to better use inheritance to
change behavoiors when needed

Change-Id: If2ad88d33437b87b8a54f3edf082e5ee812d20da
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
96a7f7aa2de33b1722009a9ee77d2b7b18a8e3e9 10-Jul-2012 Mindy Pereira <mindyp@google.com> In reference to message

fixes b/6292922 "Reply by gmail / Forward" options in Gtalk search doesn't populate the data for To:, From:, subject & quoted text
Change-Id: If453783f56ebffad02630ba8d949ed1bbbf43532
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
ef0bef60be599c8148f4ea852faf40d800494b46 04-Jul-2012 Mindy Pereira <mindyp@google.com> Use json to store folders info instead of serialzied strings

cleaner

Change-Id: I125baef04f7839ad7b2e5d5d6dfba2b5ccc9e59f
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
b334c9035e9b7a38766bb66c29da2208525d1e11 25-Jun-2012 Paul Westbrook <pwestbro@google.com> Changes to support different Log tags

Change-Id: I7121fbf7132444fc0f5c0c130373e3f2d1a3cf7a
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
a4968036e4384431de74b96d43a40faaeecf053e 25-May-2012 Mindy Pereira <mindyp@google.com> Cleaner implementation; use resource

Use boolean resource to determine if we should show folders in widget
items or not

Change-Id: I7c711ce8ef10e7bc2621a418e1c515bffa0da236
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
6fe3cb987c44fd67e3094fff99769846d8adb8a8 25-May-2012 Mindy Pereira <mindyp@google.com> Make it possible to show folders in the widget conv list items.

The code is all in unified, but I am fairly certain email doesn't want this
if it does, I will move the parts where we actually call it out of the overridden
GmailWidgetBuilder and into here...

Change-Id: I16cddd34e009d808cb2b6e49f6586eeba518a101
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
a1512b60eb12f732ac249fe7fcdc4fec756ed147 11-Apr-2012 Mindy Pereira <mindyp@google.com> Escape formatting version for widget senders.

Change-Id: Id03df2f61596cce854318e94d6d645ff241cee8b
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
e25998f8c3d20b37682cfe00aadb4a70c81eb8e4 07-Apr-2012 Mindy Pereira <mindyp@google.com> Gmail will override the base widget provider so we can do folder syncing there.

Fix bug that when you create a widget for a folder other than the inbox,
it doesnt load that folder. The loader for inbox
was overriding the folder set in the intent.
Change-Id: I3c0aeed54421ee73339ca5144b18f119d8436d78
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
c7968873cb1b64b669733aff1e4e6ef766ebd815 02-Apr-2012 Mindy Pereira <mindyp@google.com> Add shortcuts for email/ gmail

Change-Id: Id040760a5fa27d85f535f28a293df1a7ad98582a
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
119adb03829aeca48047dfaef1a39fc4e292ab42 29-Mar-2012 Paul Westbrook <pwestbro@google.com> Fix NPE with null conversation senders in widget

The ConversationItemView already handled this case

Bug: 6247968
Change-Id: I90849bb10638d7e5c75f607433d5b03f3bfe6be4
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
5f2876a4638bbc7fed2d971c777c8e2bef1cdcf2 21-Mar-2012 Paul Westbrook <pwestbro@google.com> Set limits on widget query

Change-Id: I40a40ae3930e69f25a9d00efdf9ea83cd306dfcf
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
161e735e3c892891da455bfdf17e0281f448fd49 20-Mar-2012 Mindy Pereira <mindyp@google.com> Make sure we show appropriate fonts/ backgrounds for read or unread messages

It would help greatly if I actually raead the conversation
flag in the widget, so I'll just go ahead and do that.

Change-Id: Id1df5a0807b60c5550ae343eb11371d4ba24a737
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
6dde178687e85aaab9b3f8e9c124c3ab99b77d5a 13-Mar-2012 Vikram Aggarwal <viki@google.com> Fix the null URI versus "null" versus Json.NULL

Change-Id: I51d3683d6c0f637689aded58bba95fdec9dbe8ce
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
30fd47bf1947da5ad813cb957b6cbe569dce563a 09-Mar-2012 Mindy Pereira <mindyp@google.com> Remove all label refrences from unified; change to folder

Remove labels text views from unified mail conversation list items.
Gmail will override with a new xml file that will provide a "folders" area
Change-Id: I443b8d73f253f046dfa8a8a68afa19e89bf7a85a
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
161f50d0fabdaa384a63ce69f595861c5e69795f 29-Feb-2012 Mindy Pereira <mindyp@google.com> Use intent to determine if we want to open the conversation list or conversation.

Change-Id: Ic334d81ac4c3a81bb4ab457851dbbe6bbce297fb
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
cfb7f33ff8ef9dc60b9143af32de64c7a3d71f36 28-Feb-2012 Mindy Pereira <mindyp@google.com> Store URI's in Uri instead of String.

Change-Id: I5492a61b80442afc7cebc5b3d560688aebae8820
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
9ae8ce0578b5b097e59fbd1b09fbfb8f824500fb 28-Feb-2012 Mindy Pereira <mindyp@google.com> Add launch intent for viewing a conversation from widget.

Also cleans up some cursors properly; these issues were caught
by strict mode.
Change-Id: I632dbd3a9b170711e3b5740afc919e6b37be51e6
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
a831b2f1ba6d3c18d5e54563df8bae1f589c4257 24-Feb-2012 Mindy Pereira <mindyp@google.com> Use a constructor to create a provider object.

Some were using from(Cursor), and it was confusing.

Change-Id: I49655b4ed013fb4dd47cdefea0bfd850a3fa4517
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
518ee42d4f5cfbcac07dc61fdcac4de8c32c0e26 24-Feb-2012 Mindy Pereira <mindyp@google.com> Implement serializable methods for folder/ account.

Can't use custom parcelable objects in PendingIntents, but
re-querying for the account/ folder is a waste in the widget.

Change-Id: Idbf52bf36c82928d63cfdfe1d111c25af00fb814
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
4fa30618ad6683915858c0da1a9e08d53810d851 24-Feb-2012 Mindy Pereira <mindyp@google.com> Show the list of conversations for the folder selected in the widget.

Going to take a cleanup pass after this is in and move things off the UI
thread, see if I can pass parcelable objects via remote views (seems
like I can't), or see if I can get away with just having a folderuri.

Change-Id: I28aaee942cef963a88043bb355ad1a21fdfc5f21
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java
8a8c50d8fcc4f20549c9f395edbad017a940e72b 23-Feb-2012 Mindy Pereira <mindyp@google.com> Move over resources and files for the widget.

This renames/ moves over styles and drawables for the widget
as well as xml files and classes.

Doesn't do much right now except display a unified email
widget in the widgets selection area and then say "app not
installed" when you drop it. But its a start!
Change-Id: Ie2759ce0adf520bd65222b50ddc8ab14c6659a37
/packages/apps/UnifiedEmail/src/com/android/mail/widget/WidgetService.java