History log of /packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
07676012f7e4060faa0d23dc6068e9dcdd4a4106 09-Jan-2012 Paul Westbrook <pwestbro@google.com> Fix widget updates

Fix widgets that stop updating. If the Launcher got killed, the Email
widget service gets unbound. When this happens the cursor loader for the
widget is stopped. Since widget is relying on the loader to update the data,
when the loader is stopped, the widget would never update.

Now when email recognizes a change, it will send a broadcast intent, which
will cause the widget service to be started, if it isn't.

Bug: 5811810
Change-Id: Ia840e58f10e780b94440119662c2e48e7785c507
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
561004883da8d1c5507c163eab7237262e4abbaf 14-Oct-2011 Ben Komalo <benkomalo@google.com> Fix widget update to properly refresh.

Bug: 5413224
Change-Id: Id66c7dc8aac8b5e24c7d5c5b1633c9c3ab981b15
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
7f4cf3c46b0dd1bc001c547807e83b7c280f074b 02-Jun-2011 Todd Kennedy <toddke@google.com> Hook account/mailbox picker to widget

now when adding a widget to the desktop, you can pick the account
and mailbox.

Change-Id: Id3d2c21b349af58459304ac5a068402d67f4d0f7
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
44f5cd67c97da6a5c7e63a73b4dca7057b83cdbb 01-Jun-2011 Todd Kennedy <toddke@google.com> Remove widget views

The new widget UX allows for a single display mode for the widget. This can
be configured when the widget is added or at a later time during widget
re-configuration.

We don't have the configuration activity (yet). We first need to restructure
the widget to take a single account / mailbox combination. Hooking up the
configuration activity will occur in a future CL.

Change-Id: I38a5796c44938a6abd0d2bb50ac77241cc86a497
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
98108f2e0e472861fe72c7cc9b6cd602a94643c4 27-May-2011 Todd Kennedy <toddke@google.com> Use standard widget call backs

Instead of overriding onReceive() and processing messages ourselves, we should
be overriding the standard widget call back methods, onUpdate(), etc...

Also added a deleteWidgets() method in the widget manager to maintain beter
symetry between create & delete.

Change-Id: Idc84bf220a1e14776a080cfee0b28df39f9a1450
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
314a51cb1d5bc538f069b6b13d8dffd575a5cc44 08-Feb-2011 Makoto Onuki <omakoto@google.com> Refactoring widget

- Moved to com.android.email.widget
- Extracted nested classes to top-level classes
- Some small clean-ups.
- WidgetProvider and WidgetProvider$WidgetService are left in the original
package to keep compatibility with honeycomb (3.0) release.

This CL is supposed to be pure-refactoring. There should be no
functionality changes.

Change-Id: I37acaa24b6b488724750c0f33374b31fcc433f11
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
0e3a03317b1aebd168fb1bf41b3656e7dc6a1c89 30-Jan-2011 Andy Stadler <stadler@google.com> Widget: Max out message count at 999+

Bug 3403158

Change-Id: I1daf0c62684bad83a69e19c39ffe1b8df899d077
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
6c5ee59c4fcd5cb2992a53234245df8faeaf8a5d 26-Jan-2011 Todd Kennedy <toddke@google.com> Add "tap to configure" text to widget

If there are no email accounts defined, the widget should show a single string
that allows the user to create a new account. Whenever there are changes to
the defined accounts, the widget(s) will update their headers to ensure they
are only displaying valid information.

bug 3296594

Change-Id: I156c20cfc90692174297a2aededd85775e0ea196
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
02ba344cf2489dba81058e25e3202f2898360083 20-Jan-2011 Todd Kennedy <toddke@google.com> Only show messages from inbox for account & unread views

Use a sub-selection to limit the messages from the inbox. Also add a unit
test to ensure the selections are working correctly.

bug 3368613

Change-Id: Ia24ef6028ded27c69f982ecbc6b67f35f84d1b6d
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
a33c0c74cc5fd5230b555bd1311ba92fb5d81d22 19-Jan-2011 Todd Kennedy <toddke@google.com> Revert string name change

to prevent churn for the translators, revert the string name change

Change-Id: I22710d810a5f3602ccd53a9cb4d2f31edca572f1
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
e539a1973ee6d71e2386b98c88bc6ec989dd5647 19-Jan-2011 Makoto Onuki <omakoto@google.com> Merge "Dump widget state to bugreport" into honeycomb
dc200a44a92013d2d1fd2b22ae857389fa95d5ca 19-Jan-2011 Makoto Onuki <omakoto@google.com> Dump widget state to bugreport

This might be helpful someday...

Change-Id: I5a9e0a2948c7ea9fa5c9a7da61d143c10dda7d9a
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
3db3e4b795c08122d1c9d4fc105150231795448b 19-Jan-2011 Todd Kennedy <toddke@google.com> widget combined inbox view only shows messages in inbox

instead of showing all messages (e.g. messages in drafts, etc...) the "combined
inbox" view now only messages in the inbox folder. This is now identical to
the "combined inbox" view available in the full email UI.

bug 3368613

Change-Id: I0080b56cd2718a3dce82b279277c63c4f43e86dc
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
290fb65595e08680a53ab77f54c21e7c9a380da0 18-Jan-2011 Todd Kennedy <toddke@google.com> Update widget colours / assets according to spec

* Modified font colours for read/un-read emails
* Add chip colours when viewing mail from multiple accounts
* Add calendar icon if message has an invite attachment
* Update background of read/un-read emails

bug 3351761

Change-Id: Id59573d25a6988e9e869335f95778aad28b43912
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
cb8a5544bfb2389ebd735f1575b481000d802eb4 19-Jan-2011 Winson Chung <winsonc@google.com> Updating widget due to API changes.

Change-Id: I8623c48e912330145cfd325c962574d322ccc6f0
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
d072f9905d8572f454be1f2ea5d7ba173d2b57d1 13-Jan-2011 Makoto Onuki <omakoto@google.com> Don't show trashed messages in Starred mailbox

Also show the *total* starred message count (excluding trashed starred)
in the mailbox list, not *per-account* starred count.

Bug 3346872
Bug 2149412

Change-Id: I2274f215f994b62280ac6138982b927cec22c677
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
055dd6be8643727fa1bcf197f5e8438438f28284 13-Jan-2011 Marc Blank <mblank@google.com> Cleanup WidgetProvider

* Remove STOPSHIPs
* Don't use startService calls

Bug: 3341494
Bug: 3342662
Change-Id: I46fd60db40cf3476255f1af795da0b2a4bc34a7e
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
1268bef712f13e19d7c5b94991c6eb7d800ea77a 12-Jan-2011 Marc Blank <mblank@google.com> Fix broken widget display (typo)

Bug: 3329906
Bug: 3342305
Change-Id: I1c1f2ae78ba86b28923d4fd9c7c390425de83af1
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
3d87da33b8426af3813f81b0569405120dedf4f6 11-Jan-2011 Marc Blank <mblank@google.com> Merge "Add logging for widget view switching" into honeycomb
7fbe563f510eb3583f617b583ff126167e1cac14 11-Jan-2011 Marc Blank <mblank@google.com> Add logging for widget view switching

Change-Id: I5e39ffffa0860fb43a503e4ec00ddad8003f5ef4
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
26cf5639e0e6677ee09a9aebd753d7e6e708da24 10-Jan-2011 Marc Blank <mblank@google.com> Remove STOPSHIP from WidgetProvider

Bug: 3335070
Change-Id: I838d5eeb795759da30946fbdb00fa3f0e4dbdb12
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
dc3f9f4d698267f8b2d44127d6c7bc8c1f450aba 07-Jan-2011 Marc Blank <mblank@google.com> Fix widget view switching with > 1 account

* Add test case for view switching

Bug: 3329906
Change-Id: I738bad118d7d7a8d2839fbd2a9fdc00af2af3153
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
66b6b956464a4ad357d4273b387f6a128e8add24 21-Dec-2010 Marc Blank <mblank@google.com> Put individual account inboxes in widget rotation

Change-Id: If1fddc107d9934849bbf273a67dd1db9c2063d99
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
0fd8ae8808562fffb805f3c1206be286d7732e20 17-Dec-2010 Marc Blank <mblank@google.com> Pixel perfect Email widget

* Functionally correct and pixel perfect
* All current assets in place

Bug: 3292507
Bug: 3284201
Bug: 3135118
Bug: 3255036
Bug: 3252913

Change-Id: I8fa6752748c74b3a9789a3675da12f6c0c11975f
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
ebf0f18cbad20d39900d5ed165fff9978d929e5f 16-Dec-2010 Makoto Onuki <omakoto@google.com> Add null checks to investigate bug 3275738

Change-Id: I55f83336c5059b7ea6234b9451c60c4c062fdb06
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
16badc0822ea04f9e53848795724b2f7b51347d1 08-Dec-2010 Marc Blank <mblank@google.com> Clean up initialization of statics in WidgetProvider

Change-Id: I432126a6f403c4d2f280aef5545d1638371ac755
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
6a858c1be26a9881afdb1027bc2cf02acaf6fc65 04-Dec-2010 Makoto Onuki <omakoto@google.com> Make widget open appropriate screen

Widget should open MessageListXL on tablet.

Bug 3253813

Change-Id: I5cfa63b571e443a0217bc9332bb4a76a039143ac
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
3181679e9578a492b595eeb5a7ecc11c407ca17e 04-Dec-2010 Marc Blank <mblank@google.com> Always return widget from onGetViewFactory

Bug: 3250431
Change-Id: I161189b6cec2d2a1fe0e511c1e78390673efb0b9
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java
1b9337ea4f41c12cb108cbe67e0077169b1f0b8c 23-Sep-2010 Marc Blank <mblank@google.com> Wireframe email widget

* Formatting and assets are preliminary
* Functionality correct
* Needs cleanup, etc.

Change-Id: I75051df93d233ef529a616c7a9efae403d320bd2
/packages/apps/Email/src/com/android/email/provider/WidgetProvider.java