Go to file
Makoto Onuki 308ce92847 Better fix for the PendingIntent issue.
Refactor the changes introduced in Ib02842bb.

- Now Welcome and AccountSettingsXL accept intents with URLs of the following
style, and get IDs from query params, rather than extras.

Welcome:
content://ui.email.android.com/view/mailbox?ACCOUNT_ID=1&MAILBOX_ID=2&MESSAGE_ID=3

AccountSettingsXL:
content://ui.email.android.com/settings?ACCOUNT_ID=1

- Now the "new message" and "login failed" notifications use these new style
intents, so the system wouldn't merge PendingIntents for different accounts.

Also:
- Moved all notification creation logic to NotificationController.
  (Except the one in CalendarSyncEnabler; which is used only to support
  upgrading from pre-froyo and I don't think it's worth refactoring.)

- Note the "password expired/expiring" and "security needed" notifications
aren't changed; they still use extras to store account IDs.  This is okay
because these notifications are not per-account.

Bug 4065269

Change-Id: I70737438d2e7c45fd7488a5b0a7105c8568e02f7
2011-03-23 14:49:38 -07:00
assets Remove empty.html, which isn't used any more. 2010-12-22 11:59:31 -08:00
docs auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
emailcommon Better fix for the PendingIntent issue. 2011-03-23 14:49:38 -07:00
images auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
res Import revised translations. 2011-03-17 16:53:14 -07:00
src/com Better fix for the PendingIntent issue. 2011-03-23 14:49:38 -07:00
tests Better fix for the PendingIntent issue. 2011-03-23 14:49:38 -07:00
.classpath Initial Contribution 2008-10-21 07:00:00 -07:00
.project Initial Contribution 2008-10-21 07:00:00 -07:00
Android.mk Split out emailcommon/Android.mk 2011-03-01 15:56:27 -08:00
AndroidManifest.xml Better fix for the PendingIntent issue. 2011-03-23 14:49:38 -07:00
CleanSpec.mk Split out emailcommon/Android.mk 2011-03-01 15:56:27 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
proguard.flags DO NOT MERGE Add original HTML message to forward/reply 2011-03-03 15:27:09 -08:00
remove-exchange-support.sh remove-exchange-support.sh supports MacOS 2011-01-28 13:39:39 -08:00