Commit Graph

2724 Commits

Author SHA1 Message Date
Marc Blank c8afa2f5cb Send attachments w/ UnifiedEmail outgoing mail
Change-Id: I471816dcaac1ab53aea1465dd69ae4453a1a0268
2012-01-17 15:38:24 -08:00
Marc Blank 1d3f98c522 Merge "Store UI-friendly addresses in EmailProvider database" 2012-01-17 13:22:16 -08:00
Marc Blank 36ed276f7a Store UI-friendly addresses in EmailProvider database
* Currently, we store a generally incompatible packed string format
  for to, from, bcc, cc, and reply-to columns
* Change this to UI-compatible, comma-separated RFC822 strings
* Upgrade database to use new format

Change-Id: I42c01d72b49531c4324d3956edf5ff362d5c9120
2012-01-17 13:11:45 -08:00
Mindy Pereira ce1791abf3 Update to new message column names.
Change-Id: Ie24fc8e0529ff363dc8bf7a5f6522b601560b91a
2012-01-17 08:22:39 -08:00
Marc Blank 6605115ec4 Set notify uri for queries; trigger notify on message inserts
Change-Id: I9fdf2f83670ec72937deebe352e962632f37b519
2012-01-13 15:02:45 -08:00
Marc Blank 788d52d831 Send new columns for message header; real data for msg counts
Change-Id: I88f560beafdf8cf9194664a63cf74436be281056
2012-01-13 13:00:07 -08:00
Marc Blank bb760d73f0 Sort message (conversation) list properly
Change-Id: Id208890abf4c646fe8eba01bbfe22de35c610e3c
2012-01-13 12:35:43 -08:00
Marc Blank bdf32afa64 Hook up primitive email sending to UIProvider
Change-Id: I5fe949c3cdf3d04514976d029d966caa912ec5be
2012-01-13 11:35:46 -08:00
Andy Huang 96d0323cfa remove CLIENT_CREATED usage
Change-Id: Icb102ef554e9e945bdf4866d0038892556fcf739
2012-01-12 15:10:28 -08:00
Marc Blank ca6f713e71 Oops; fix order of TABLE_NAMES
Change-Id: I994b31c05c640f61444ae3d66c5b94e1d147e698
2012-01-12 14:39:57 -08:00
Mindy Pereira e9e865345e Set c to the result of the query.
Change-Id: I5b8c935aedcdd86d756ee7de70088f2c8db179d5
2012-01-12 14:25:49 -08:00
Marc Blank 0c550c343f Return "0" for unknown columns in UIProvider queries
* For now, let's avoid exceptions

Change-Id: I5758f3aefb458c00fd3fc1865e63df92e9ba1650
2012-01-12 13:36:50 -08:00
Marc Blank 3594ac8146 Implement initial UIProvider operations (UnifiedEmail)
* Add support for folder list, conversation list, and message view
  queries
* Open up EmailProvider (temporarily) to allow access from
  UnifiedEmail (signatures don't currently match)
* Modify make file so that we can reference definitions in
  UIProvider

Change-Id: If73c59aa9edfdac5619ff2c6b9cedfdfe4e93d6f
2012-01-12 11:18:01 -08:00
Paul Westbrook 75987dbe0c am 17d522b5: am 07676012: Fix widget updates
* commit '17d522b51c9aa564e1989095e0264264642c2432':
  Fix widget updates
2012-01-09 16:37:39 -08:00
Paul Westbrook 17d522b51c am 07676012: Fix widget updates
* commit '07676012f7e4060faa0d23dc6068e9dcdd4a4106':
  Fix widget updates
2012-01-09 16:12:33 -08:00
Paul Westbrook 07676012f7 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
2012-01-09 13:14:47 -08:00
Marc Blank 93bc609c9e am 9b4240f7: DO NOT MERGE: Handle UI part of email lookback limit
* commit '9b4240f7c5647c2952b050bb74f18eba274f51f8':
  DO NOT MERGE: Handle UI part of email lookback limit
2012-01-04 13:08:01 -08:00
Marc Blank 9b4240f7c5 DO NOT MERGE: Handle UI part of email lookback limit
Bug: 5792217
Change-Id: Iccd6b1db30e8fb1fbdb514ed2de6d1e789a6280a
2012-01-04 11:51:08 -08:00
Marc Blank d85413e946 Merge "Handle UI part of enforcing email lookback limit" 2011-12-22 13:22:50 -08:00
Marc Blank 919e59044b Handle UI part of enforcing email lookback limit
Bug: 5792217
Change-Id: I4351ae4d8505965a32690ecb5e6338765fb3770f
2011-12-21 17:44:59 -08:00
Conley Owens e3def6c9c4 Make TAG field package-private in several classes
Specifically, several internal classes.

This makes a little more sense since they are accessed outside of the
class that they are defined in.

In addition, this fixes errors created by proguard when building with
OpenJDK.

Change-Id: If2e2f90558e04e777a0c4dbc2ccd1f6c46dd8228
2011-12-21 12:45:19 -08:00
Conley Owens 58ce2d0c3a Make TAG field package-private in several classes
Specifically, several internal classes.

This makes a little more sense since they are accessed outside of the
class that they are defined in.

In addition, this fixes errors created by proguard when building with
OpenJDK.

Change-Id: If2e2f90558e04e777a0c4dbc2ccd1f6c46dd8228
2011-12-20 11:58:29 -08:00
Mindy Pereira d5109cf7f0 Use static library resources from chips.
Change-Id: I4261004dda1bd106d0c0ad0aec8348920ffd8c7e
2011-12-15 14:01:22 -08:00
Mindy Pereira 6d7eef22cd DO NOT MERGE. Fix issue where back stack is not cleared when opening email from a notification.
Fixes b/5716835 back stack in email gets messed up in certain circumstances

Change-Id: I499a1c19f1ebbb7e4debde690cacf17f9f6c3454
2011-12-08 13:47:02 -08:00
Mindy Pereira 2df61456f4 Clear back stack and make this the top level stack.
Fixes b/5716835 back stack in email gets messed up in certain circumstances

Change-Id: I6fb593a520931b16e973f025c00709f7e76bb4d9
2011-12-08 13:36:47 -08:00
Andy Huang a7d1b5c58c Fix various text size problems when system font size is huge
This CL to replace Iafd5d1dc.

* use common styles for spinner anchor and dropdown text
  (introduced in I3063cfea)
* allow dropdown item height to scale beyond fixed height to fit
  huge text

Other fixes:
* use Gmail's color for dropdown and folder list header text
* remove spurious divider in dropdown items that precede a
  header

Bug: 5687252
Change-Id: I3e46cff736a045c4a59a0ff8810977e39f903a14
2011-12-08 13:24:51 -08:00
Mindy Pereira 970e9b70db Merge "Revert "Fix various text size problems when system font size is huge"" 2011-12-08 09:35:08 -08:00
Mindy Pereira c756389817 Revert "Fix various text size problems when system font size is huge"
This reverts commit 19bc1921f2
2011-12-08 09:33:30 -08:00
Vikram Aggarwal d8296ff4f2 Merge "Fix various text size problems when system font size is huge" 2011-12-08 09:01:12 -08:00
Andy Huang 19bc1921f2 Fix various text size problems when system font size is huge
* use common styles for spinner anchor and dropdown text
  (introduced in I3063cfea)
* allow dropdown item height to scale beyond fixed height to fit
  huge text

Other fixes:
* use Gmail's color for dropdown and folder list header text
* remove spurious divider in dropdown items that precede a
  header

Bug: 5687252
Change-Id: Iafd5d1dc7c3809393c3892138b42b7274fb03a27
2011-12-07 18:28:41 -08:00
Marc Blank 4c49b4a220 Use LOCALIZED collation for mailbox names
* Our mailbox sort order varies from that of other clients due to
  our not having used LOCALIZED collation

Bug: 2347066
Change-Id: I334feb9fa5690118401e2fe2b4a767eb3f29b25f
2011-12-07 15:05:30 -08:00
Mindy Pereira bb86a95acd Like Gmail, we only want to set activated text to a diff color for two pane.
Fixes b/5699511 Draft message is showing in white color text

Change-Id: I9f15807936db8864a1752d56056b08ddfb32f121
2011-12-02 14:20:46 -08:00
Mindy Pereira dc931441d8 Merge "Fix layout for edit quick response dialog." 2011-12-02 11:14:22 -08:00
Mindy Pereira d637dc245b Fix layout for edit quick response dialog.
Fixes b/5528659 Quick Response "create new" dialog is janky

Change-Id: Ib78d677114f9af1969ce8314e6f58002d2ad727f
2011-12-02 11:11:21 -08:00
Mindy Pereira bc6625ef73 Merge "Make sure to check for a null account before using the account." 2011-12-02 10:44:21 -08:00
Mindy Pereira ceca4751b2 Make sure to check for a null account before using the account.
This is a common root cause with monkey crashes.

Fixes b/5628984 com.google.android.email: java.lang.NullPointerException: Unable to start activity ComponentInfo{com.google.android.email/com.android.email.activity.setup.AccountSetupIncoming}: java.lang.NullPointerExceptionat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1955)

Change-Id: Ib3ac5c62b72662402c7d5df4e5d895beaf324197
2011-12-02 10:30:13 -08:00
Vikram Aggarwal 3714243c0d Merge "Consolidate Preference.OnPreferenceChangeListener objects in AccountSettingsFragment" 2011-12-02 10:14:32 -08:00
Vikram Aggarwal 4016ea1ae9 Consolidate Preference.OnPreferenceChangeListener objects in AccountSettingsFragment
Fixes b/5642876

Change-Id: I74b9e06107ea89d7b3acf74c6c676dcc85125abc
2011-12-02 09:53:39 -08:00
Mindy Pereira e18e8f45da Merge "Show correct error when adding widget with no email accts on device." 2011-11-29 09:35:34 -08:00
Mindy Pereira 30003e582f Show correct error when adding widget with no email accts on device.
If the WidgetConfiguration service is disabled until the user adds an account,
adding the widget just fails badly as there is no service registered
to handed an APPWIDGET_CONFIGURE intent.
Fixes b/5613821 App isn't installed toast message when creating widget for Email without any account

Change-Id: I98003eadf71fb944d3c0902f7e132ca7c5b67571
2011-11-28 16:30:12 -08:00
Mindy Pereira fe402a8081 Check for account before launching welcome screen.
If this is running via monkey, might not have an account yet.

fixes b/5518958 java.lang.NullPointerException at com.android.email.activity.MessageCompose.onBack(MessageCompose.java:1797)

Change-Id: I17fb606a2fd3aad685a855ae8bd9eda551296ca3
2011-11-28 11:26:03 -08:00
Marc Blank fd81e19779 Don't save Policy with Account
Change-Id: Ib3601daee8780640a07db573f623e99279c9f9b1
2011-11-21 13:04:26 -08:00
Mindy Pereira 5789a78af3 Merge "Add account should be shown on all Email prefs screens and subscreens on tablet." 2011-11-18 15:43:25 -08:00
Mindy Pereira f579eb8ac3 Add account should be shown on all Email prefs screens and subscreens on tablet.
For phone, should match Gmail and just show it at the top level.
Fixes b/5621803 "Add account" button disappeared - IKXEVERESTLTE-3051

Change-Id: I143043485cbb912023fe015a768c6f37c8cad3f5
2011-11-18 15:25:36 -08:00
Vikram Aggarwal 8957df83d4 am dd4f501b: Merge "Accurately update the preference summary string when changing the vibrate setting." into ics-mr1
* commit 'dd4f501b44e1f15f8ba33488a63d0d4731e93317':
  Accurately update the preference summary string when changing the vibrate setting.
2011-11-18 15:23:09 -08:00
Mindy Pereira 7a7f544c0c am 9eeb535f: Merge "Make message items aware of the various modes." into ics-mr1
* commit '9eeb535f6f8d940447755a0a31f7b0cc805b1028':
  Make message items aware of the various modes.
2011-11-18 15:23:08 -08:00
Vikram Aggarwal dd4f501b44 Merge "Accurately update the preference summary string when changing the vibrate setting." into ics-mr1 2011-11-18 12:52:18 -08:00
Mindy Pereira d22cf7bda7 Merge "DO NOT MERGE ListView eill always show dividers below items if all items in the adapter are enabled." into ics-mr1 2011-11-18 12:13:16 -08:00
Mindy Pereira 9eeb535f6f Merge "Make message items aware of the various modes." into ics-mr1 2011-11-18 12:05:39 -08:00
Vikram Aggarwal 7d28a1c279 Accurately update the preference summary string when changing the
vibrate setting.

Fix b/5639748

Change-Id: Ice6d4770c156104495d476826a636487f4df5f1b
2011-11-18 11:14:11 -08:00