Commit Graph

351 Commits

Author SHA1 Message Date
Paul Westbrook eeb3f9369e increment versionCode
Change-Id: Id458c32058f8a692ab5b8bd0d56abe8f1a8a55c3
2013-08-29 17:39:50 -07:00
Andrew Sapperstein a3da2975e8 Show action bar title in eml viewer. b/10515249.
Change-Id: I5889a3b645f3792e881c746f8e4bdfc04d12a922
2013-08-28 10:20:13 -07:00
Yu Ping Hu 9950981ec6 Increment Email version.
Change-Id: Ifb89a09b3bfaf9296ce8c4cd65053719ad957e5b
2013-08-23 18:01:38 -07:00
Andrew Sapperstein 9b75d662da New overflow to more places
Change-Id: I1cfdef636fdb32968a4a7164e1e79693475d8d09
2013-08-22 16:58:05 -07:00
Yu Ping Hu dc5549a1e4 Increment Email version.
Change-Id: Ie42e9085f7d9e79035192d2c2d9ff62abf4feaaa
2013-08-21 20:32:33 -07:00
Yu Ping Hu 4525565948 Improve synchronization in EmailProvider.
It's possible to have multiple EmailProviders.
Also get rid of references to the multiprocess attribute.

Bug: 10388165
Change-Id: Ic6be363eaee20b3b5deddc7b3054d1a7419483a1
2013-08-20 15:06:06 -07:00
Tony Mantler c6953b7755 Reimplement QuickResponse support
b/8622751

Change-Id: Id079efcf34dce15b5f5057f937582c0e198d3d50
2013-08-16 14:08:54 -07:00
Yu Ping Hu 64fa58a0bc Increment Email version.
Change-Id: I40c58ab66a6838e15e9abdd629e05de526597ba6
2013-08-16 00:32:10 +00:00
Yu Ping Hu 5673236ebe Set SDK version for Email to 18.
Change-Id: Ib233193554637506ce5b9cdbe999843b9e5e4ab5
2013-08-08 10:23:17 -07:00
Mark Wei 94e6b5d9bd Merge "Change IME input mode to pan instead of resize." into jb-ub-mail-ur10 2013-08-08 00:03:55 +00:00
Mark Wei 3a29afda80 Change IME input mode to pan instead of resize.
Prevents attachment previews from changing parallax view when starting search.

Bug: 10153107
Change-Id: I10984fc9a148786d87d9e72f9e37d0b46e37775e
2013-08-07 14:04:20 -07:00
Yu Ping Hu 317a7c62fb Increment Email version.
Change-Id: I9c9e09004c2dd546772739c431e9206f09c9974e
2013-08-07 14:02:26 -07:00
Yu Ping Hu aae03066f1 Increment Email version.
Change-Id: I3883e807da8ec7b03406610ba72eafac0f0d9a78
2013-08-02 17:08:39 -07:00
Yu Ping Hu c543c4f04d Increment Email version.
Change-Id: Iba18b0d977f2b9bfa31150e967ca48c6510c4453
2013-07-31 17:37:58 -07:00
Yu Ping Hu 82e2830a7f Rename folder shortcut widget.
Bug: 10094801
Change-Id: Ic710b8488518e37073fff44b730c0d26404db17c
2013-07-30 16:25:52 -07:00
Yu Ping Hu 8698042c7f Remove IMAP2 from manifest.
Change-Id: Ib702d570f7c9f5f00ae72bfb39e75348baa871ad
2013-07-26 18:19:57 -07:00
Yu Ping Hu 02f0b1eee8 Remove MailService.
Change-Id: Ibffd0c9fb0eed4822dff28d1577fb455736cffd1
2013-07-26 17:38:07 -07:00
Yu Ping Hu d4ec3272cf Increment Email version.
Change-Id: I2870eaf3e6a1c2266ed0ef5bfbde5fe4c47c00fa
2013-07-24 16:18:28 -07:00
Tony Mantler 83bee478f3 Enable Bidi
b/7221227

Change-Id: I9417a833a2f1ebf6292dbf1b434e9504fe25184b
2013-07-23 16:16:16 -07:00
Yu Ping Hu 462da178b1 Move authenticator upgrade to app upgrade time.
This used to run when the app first initializes the service map.

Bug: 9391930
Bug: 9971936
Change-Id: Iebaeb2dc94ef62edb0be0a7d5a008a26c4f5edfb
2013-07-22 17:33:57 -07:00
Yu Ping Hu 765dc3d552 Increment Email version.
Change-Id: Ib82ef63416a904693edc090499a26a434a68f06a
2013-07-17 13:12:52 -07:00
Yu Ping Hu 5b4f26d203 Make EmailProvider protection less dangerous.
Attachment provider should probably also be less
dangerous, but that'll come later.

Change-Id: I69f3dcbf7afef4f2f2f2d03974ee2e29af59ab58
2013-07-15 14:00:56 -07:00
Yu Ping Hu f9975572d5 Increment Email version.
Change-Id: Id4137009470dd3a2cbaa1546e85e7d43714418ab
2013-07-10 18:45:46 -07:00
Yu Ping Hu 1198507b6a Increment Email version.
Change-Id: I79bf702f28095c32c3361ce56da2a00a8ec31c65
2013-07-03 16:30:54 -07:00
Yu Ping Hu 8686e10dad Increment Email version #.
Change-Id: I90b4b56ba56b62c6dd7cdfc23b57875140a34105
2013-06-26 17:41:28 -07:00
Andrew Sapperstein 478417a794 Support eml attachments in email.
Change-Id: I76274540d00a292d5a8f777d75d8e9f7b2ef3a51
2013-06-21 11:38:13 -07:00
Yu Ping Hu e5088ba0d4 Increment email version.
Change-Id: I2c974b090f308cd30553796eda7d5c05d2327d8f
2013-06-19 11:57:16 -07:00
Yu Ping Hu 5648390cae Increment Email version.
Change-Id: I742889a46dc782868a536ab3ecc891463e1ac251
2013-06-19 11:50:33 -07:00
Yu Ping Hu e9c811d87d Opt out email from limited users.
Bug: 8630000
Change-Id: Ida0bf7c2336dccce7c01785e8cf8ac3f3ec29571
2013-06-18 18:32:38 -07:00
Andrew Sapperstein ae8e0b7ac3 Export Eml viewer.
There's really no reason why it shouldn't be
and having it exported prevents b/9334785 from occurring.

Change-Id: Icaf9e90bc1f2e7bb35dba27ccb380ffa9ae7acbb
2013-06-11 15:01:05 -07:00
Andrew Sapperstein 3df361a577 Merge "Add additional eml mime type." into jb-ub-mail-ur10 2013-06-06 23:07:02 +00:00
Andrew Sapperstein c035a693e7 Add additional eml mime type.
Still wanna support application/eml even though
I doubt we'll ever see it.

Change-Id: I5dd74e5882b40d136f3849bb2500de0e5cbba24c
2013-06-06 15:51:50 -07:00
Scott Kennedy 560bfadc31 Unify LogTag
There is now only one LogTag class. The static initializer of
GmailApplication (existing) and EmailApplication (new) will now set
the log tag to "Gmail" and "Email", respectively. Up until that code
is run, it will be "UnifiedEmail".

"setprop log.tag.Gmail VERBOSE" (or .Email) will trigger all logs to
be printed as long as they go through LogUtils, regardless of what tag
is used by that individual log. This lets us still turn on logging
everywhere in one command, but also lets us use more descriptive tags
(like the class name).

And since we no longer have three com.android.mail.utils.LogTag
classes, builds will be much easier.

Also, we now use LogUtils everywhere.

Change-Id: I55f1c7a66ce50ead54877a13e40256422a56dc39
2013-06-05 20:06:15 -07:00
Yu Ping Hu f849c1c50d Increment Email version.
Change-Id: Id0f4ce9b987f188bcb7a3604efe6df9162a2e4e5
2013-06-04 12:50:35 -07:00
Andrew Sapperstein 7500c15652 Add EmlViewerActivity to AndroidManifest.xml.
Change-Id: I6728999bf3f27b4c0b9c0664775a7b87c97690c1
2013-05-31 10:38:53 -07:00
Yu Ping Hu d557e2b430 Increment Email version number.
Change-Id: I5a878e80189dc4ef3e1aee3a80ca06ee47b10ac5
2013-05-24 16:32:56 -07:00
Yu Ping Hu eba3ec75cd Increment Email version.
Change-Id: I1a429793e879fbe5b70a32c0bdec5f953565b81d
2013-05-08 17:41:14 -07:00
Yu Ping Hu 2e694d1d3b Increment Email version.
Change-Id: I85b9958df9dcde0eae20e5d5c6362fe66c1bff59
2013-05-07 09:33:14 -07:00
Mark Wei d2740d69cc Unconfigure widgets when switching sectioned inbox on/off.
Widgets configured to use inboxes that no longer exist will be unconfigured.

Bug: 8599006
Change-Id: I95c61546a71a727ebb51aed9b345ccc3276829b6
2013-04-29 17:27:06 -07:00
Yu Ping Hu 5d4f9b96b0 Increment Email version number.
Change-Id: Ib9d78d2bd74edcdfb00ea9f575cdc3a4b9ab18ee
2013-04-26 17:14:09 -07:00
Yu Ping Hu 23f57e3f20 Increment Email version number.
Change-Id: I9d890232e076377458580dc72aaab3b0e56a12c1
2013-04-26 16:10:41 -07:00
Yu Ping Hu 0b8e65b784 Increment Email version number.
Change-Id: I70237386705740dc20b6ee589a3404df17bef5f5
2013-04-19 10:03:51 -07:00
Yu Ping Hu a8fdf9fb07 Increment Email version.
Change-Id: Ibb882d28c226fa257c02092744066e3b087345fa
2013-04-11 20:44:47 -07:00
Yu Ping Hu 217163cce7 Increment Email version number.
Change-Id: I521d39f217fa3662038f350587b34021e599b479
2013-04-09 15:24:40 -07:00
Yu Ping Hu f332e9d938 Increment version number.
Change-Id: I97a37ca97d4260db1458acdc22522e89b38e0b51
2013-04-05 16:40:42 -07:00
Paul Westbrook 391a7fc0e9 Support legacy shortcuts
We need to support shortcuts that were created with previous versions
of Email

Bug: 8530220
Change-Id: I9e2a44b561f5617ffa954af37a9e78a95400f7dc
2013-04-04 02:45:17 -07:00
Yu Ping Hu 81ca6599be Increment version number.
Change-Id: Ifff70ec6a013bbde97a8f8726f958665b6333570
2013-04-02 12:59:55 -07:00
Paul Westbrook c4deb273e2 increment versionCode
Change-Id: I9cfe3f9fff0f11ecf87688dceb71f0275bac7dbc
2013-03-29 20:53:57 -07:00
Yu Ping Hu b1792d725a Increment version number.
Change-Id: I6a27aa4ee4de9d83e60fb226fcf838b127522f36
2013-03-26 18:46:54 -07:00
Yu Ping Hu e46d4457a0 Change the notification action strings.
Multi-project change with:

I86b368de45533faa3f639f631d56e16f5cbca36e (UnifiedEmail)
I407b8900220e7dbdda81d6572f0ee374ae3d3833 (UnifiedGmail)

Bug: 8483722

Change-Id: If514cfed9538f0c2433a9427f15608ba5878ee05
2013-03-26 17:37:46 -07:00
Scott Kennedy 093e669746 Fix notification issues
CLEAR_NEW_MAIL_NOTIFICATIONS wasn't being received because
there were no data tags in the filter.

Bug: 7923968
Change-Id: I4f6d03e79a8ecf9450acba3348242c8a48916ad3
2013-03-19 18:32:39 -07:00
Yu Ping Hu 24e165323e Increment Email version.
Change-Id: Ic80b0c205aca5734e0344c1acc8997d7e9b8b7ab
2013-03-19 14:41:25 -07:00
Vikram Aggarwal aa7e415d21 Merge "Single Actionbar: no more split" into jb-ub-mail-ur9 2013-03-15 22:34:49 +00:00
Vikram Aggarwal 1c50031f51 Single Actionbar: no more split
Single actionbar for Email

Bug: 8351542 Single action bar and new account selector
Change-Id: I4f8d54bdf5d4bbe2dfaae6e0121780b2a50aeb7f
2013-03-15 15:22:19 -07:00
Yu Ping Hu ed1cc32fc2 Increment Email version number.
Change-Id: I7f41ae6fd02d4709a7d285c3acacd4612b0d67cd
2013-03-15 14:30:04 -07:00
Paul Westbrook c389a54508 Fix launching Account settings
The intent action in the manifest didn't match what was specified in account
authenticator preference

Bug: 8359559
Change-Id: Ic4c95ac954913d0cb5531cebcdddddded14ac1b2
2013-03-12 22:57:54 -07:00
Paul Westbrook a01c85229b Merge "Revert "Revert "Remove extra Imap authenticator"" :)" into jb-ub-mail-ur9 2013-03-13 00:32:33 +00:00
Paul Westbrook 2af7d01ef7 Revert "Revert "Remove extra Imap authenticator"" :)
This reverts commit 8fcf4d7976

Change-Id: If5a83b82ec64b6acef7c9f1c7896ef144aacfd1f
2013-03-13 00:24:02 +00:00
Paul Westbrook e0cc62d72f Merge "Revert "Remove extra Imap authenticator"" into jb-ub-mail-ur9 2013-03-12 23:05:41 +00:00
Paul Westbrook 8fcf4d7976 Revert "Remove extra Imap authenticator"
This reverts commit 1310fb5790

Change-Id: Ife2e885b1d772b6c322c607a61023eabdcc26efa
2013-03-12 23:03:45 +00:00
Paul Westbrook 9ab4553ea8 Merge "Remove extra Imap authenticator" into jb-ub-mail-ur9 2013-03-12 22:25:14 +00:00
Paul Westbrook 06c358dfee Simplification of app initialization
Specify a account query uri in a resource, and remove the old receiver

Change-Id: Ia04dccfc95e0bb1854bba2e6f51e2de1546d72ce
2013-03-11 23:48:44 -07:00
Paul Westbrook 1310fb5790 Remove extra Imap authenticator
Bug: 7211288
Change-Id: I130869a489fdfa95343022316a5ed4533d1f102c
2013-03-11 14:36:45 -07:00
Paul Westbrook 5a3d863a43 Add support for feedback
Change-Id: I6de8c0117f79c0be05d3db2fc108f8bf61415783
2013-03-08 17:15:00 -08:00
Yu Ping Hu 1eebd2f61c Increment version for email.
Change-Id: If42d894e2314eaf7caf2462bbff72d60956931ae
2013-03-07 18:29:24 -08:00
Yu Ping Hu c813ab6cc6 Increment email2 version code.
Change-Id: Iaeeb0b4adafd4275f068336dbbe94484ce754e44
2013-03-07 16:42:46 -08:00
Vikram Aggarwal 3f0f64f79b Enable the MailLogService for Email
Bug: 8293525 Add debugging information for Gmail
Change-Id: I96e65c64f2347c17c497667258a567f7b618b121
2013-03-04 10:47:10 -08:00
Paul Westbrook 4b6d17ebea Remove versionName
This is now set as part of the build process

Change-Id: Ic4db38df434031ce43c5a929dc7bac157a26d0a0
2013-02-25 12:11:02 -08:00
Scott Kennedy b34608228f Move notifications to UnifiedEmail
This involves redoing the persistence model, to split general,
account, and folder settings into separate SharedPreference stores.

It also requires some preferences to be moved into UnifiedEmail.

Depends on Ibe2e3f93ec164370535ffc5f5b2409544cc8d36d (UnifiedEmail)

Change-Id: Ie6ec389b5b5d2e7ab1b299d0877811ae716526e2
2013-02-08 09:48:22 -08:00
Paul Westbrook 2e411dc68e increment versionCode
Change-Id: I8914c905fa85d6809540612e113d104ed3278200
2012-11-05 09:39:27 -08:00
Paul Westbrook c3f4e0e458 increment versionCode
Change-Id: I8fbeac70c5edfd98e64531c892e06e9989851e71
2012-10-15 15:17:31 -07:00
Marc Blank 5c52385838 Restore Imap1
* Restore Imap1 code
* Legacy users will use Imap1
* Existing Imap2 users will continue to use Imap2
* New accounts will be created in Imap1
* More to follow

Bug: 7203993

Change-Id: I8b86fcada59a854fd464d5269c94d00ebae85459
2012-09-21 08:29:09 -07:00
Paul Westbrook d4565b3e0d increment versionCode
Change-Id: I9d1eccc6b1dd0bd0fd6b342e6af151630f20a91e
2012-09-19 22:02:44 -07:00
Paul Westbrook eb14c19ee6 increment versionCode
Change-Id: I60ebe8705507d1791bb74b7eb8057f35bff987cf
2012-09-17 19:38:21 -07:00
Nick Kralevich b9929c8ccc DO NOT MERGE Explicitly export content providers
In a future version of Android, the default value for
<provider android:exported> will change from true to false.
Explicitly set android:exported="true"

Bug: 3306452
Change-Id: I9c2e23ab1e55e63bc9ee4fa165a90e566f1911ac
2012-09-17 12:27:01 -07:00
Marc Blank a1b2b325eb Revert "Export providers explicitly"
This reverts commit a256453a1b

Change-Id: Ibf5dde21a7a4b000cdbec6d7122daaad5914a57b
2012-09-15 18:54:51 -07:00
Marc Blank a256453a1b Export providers explicitly
Change-Id: I4ddca4b5a295431e799d5a104bd6efd91cda6323
2012-09-15 18:28:40 -07:00
Paul Westbrook f81b540955 Build against the MR1 sdk
Change-Id: I28807529373ea4719a3523425fe0cae878739742
2012-09-14 01:56:17 -07:00
mindyp 939d15ebbd Bump version
Change-Id: I00712f58951db8472d5c1e9d21be0f7dd513c85b
2012-09-13 18:01:22 -07:00
Marc Blank 1e528157ef Bump version
Change-Id: Idc398ceef7a00c1cc2639282df93b568de9b0730
2012-09-11 10:14:58 -07:00
Marc Blank 6f40c2e78e Bump version
Change-Id: Ic71d2d4a66e1ce6872c1e815baa5c9199df01598
2012-09-10 14:01:57 -07:00
Paul Westbrook 5c9b9a4447 increment versionCode
Change-Id: Ia767e02d450dd809c9065d73ea7b001614cd3bc6
2012-09-09 18:34:12 -07:00
Marc Blank 7e5df63fc9 Use resource based mime type for application
Change-Id: I41a3cbf5c810668f9b0885f6614b2e48215901b2
2012-09-08 10:50:40 -07:00
Marc Blank dc1655bce3 Bump version
Change-Id: Ida0841a2e9f62784ece25be5e51de66ceaec2c62
2012-09-06 18:06:16 -07:00
Marc Blank 2616405471 Improve trash folder picker upon account creation
* Use setup intent uri
* TODO: More cleanup

Bug: 7077441

Change-Id: Ieab5b0ed33b73b7a0e9012aedd6becf867db1566
2012-09-06 16:01:45 -07:00
Marc Blank a2c286493d Bump version
Change-Id: I2ff95ad2f955e455627a6908374380e92eae0546
2012-09-05 13:45:06 -07:00
Marc Blank b82ae909d7 Add support for "load more" for Imap2
* Use new attribute in services.xml to indicate support
* Initial implementation

Change-Id: Ia8709d606d521c6d495c343a47ee074b5024d340
2012-09-01 15:58:46 -07:00
Marc Blank e714bb9d15 Convert authorities, intents, and account manager types
* Tested ok on wiped Nexus
* Tested ok on S3
* Upgrade verified on Nexus

Change-Id: If5d4ce594f8a309cdb59589d10b1d33f3b79326c
2012-08-31 23:26:36 -07:00
Paul Westbrook f854ba2358 increment versionCode
Change-Id: I532acb5cf713af33576844f14cc0c6c9f753ad7a
2012-08-23 14:27:35 -07:00
Marc Blank 70edcf0538 Integrate Imap2 into Email
* Also, convert imap accounts to imap2
* The original imap service remains, but is no used
* There remain some questions about how the upgrade
  should work in terms of settings

Change-Id: I0e05edad6a1553f428a2c2fa3daf1df878d4b5f7
2012-08-22 14:17:57 -07:00
Paul Westbrook 1f421addfe increment versionCode
Change-Id: Ia033e47cf35a38a1ab7d2cd014a32bdbee1b9055
2012-08-17 16:51:32 -07:00
Mindy Pereira 9fbb81c9b6 Dont disable compose until accounts are added; listen for account chages to update cache
We want this to go to the add account screen instead.

Change-Id: I087deed7462b87dc026d36fa17b232dc312e8525
2012-08-13 10:41:25 -07:00
Paul Westbrook b819a96f51 Use the theme that doesn't show the title in the action bar
Bug: 6889786
Change-Id: Idb499eed62c08369a46d472acc471f20e264f0c5
2012-07-27 10:48:08 -07:00
Paul Westbrook 51693c5a4c Migrate legacy widgets
Bug: 6304532

Change-Id: I6a5cad036ec7d4746e396b580e4689c957a7ee18
2012-07-23 14:57:46 -07:00
Mindy Pereira 50b50dfa1b Enable NFC sharing of address.
Change-Id: I19b10ef0c1b0eda1a3ed9020719883e96df60341
2012-07-23 13:14:11 -07:00
Paul Westbrook 516fe3a176 Increment versionCode
Change-Id: Ie241c6a4f5e639ef921dbf268e7b8fd699679b7b
2012-07-21 13:26:32 -07:00
Paul Westbrook 70744d6333 Fix app shorcut after upgrade
Now old app shortcuts will continue to work after upgrading to 4.2

Also re-add the APP_EMAIL category

Bug: 6363841
Change-Id: Ib3bc860931da4c25e06f084e9fffe96703fd4f0f
2012-07-21 05:35:21 -07:00
Paul Westbrook d7f94671e2 Changes to support widget infrastructure
Change-Id: Ie9bde655339aa5322075c2d211d157552741e1ef
2012-07-19 10:04:02 -07:00
Marc Blank c6089bc01f Initial Imap2 implementation
This CL includes the following:
* New Imap2.apk generation (not included in builds)
* "Push IMAP" option for accounts when Imap2.apk present
* Account creation/setup
* 2-way sync of messages, deletions, flag updates
* Push (messages, flags)
* Folder list hierarchy handling
* Message text (one plain or html part)
* Picker UI for trash folder (placeholder)
* Capabilities handling/UI command

Major Imap2 new features:
* Push
* Multiple folder sync
* Sync window (like EAS)

TODO:
* Picker UI for sent folder
* Upload of sent messages to server
* Search
* Multiple viewable parts
* Probably lots more, incl. unit tests

Change-Id: Ia5d74073d9c307e0bdae72a7f76b27140dde7d14
2012-07-18 11:32:26 -07:00
Paul Westbrook f4f33fd2a9 Change version code & name
Change-Id: Id02ef972a59fbc648acacf07f0fe69356ed3587a
2012-07-11 16:02:18 -07:00
Mindy Pereira 17fa1af8df Disable compose until an account has synced.
Change-Id: Icac997bc7137ec7123d469320b1b204ee9e385bc
2012-07-11 14:56:30 -07:00
Marc Blank f419287f22 DO NOT MERGE: Move emailcommon2 sources to emailcommon
Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
2012-06-28 11:15:06 -07:00
Marc Blank 03cd72805d Revert to old Email app
* These are the last sources in the ICS-MR1 tree

Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
2012-04-25 13:58:23 -07:00
Marc Blank b019a5a33d Fix manifest to look for send for composing a message.
Change-Id: Ic57240a7ca28a290ab4555c3477dc79f1546b3b6
2012-02-28 13:52:18 -08:00
Marc Blank d9201da55b Setup composeUri for accounts in EmailProvider
* Add intent filter in manifest

Change-Id: Ifbacfcb6109d76d48dabb87eb45ea28ec4278ad8
2012-02-28 10:16:43 -08:00
Paul Westbrook 69e37ad2a2 Use existing intent filter for editing settings
Change-Id: Ief365ba8046cd987f3afeb3736d7200eeec29d77
2012-02-22 14:50:33 -08:00
Paul Westbrook c2412dfec4 Support for new settings intent
Change-Id: I0d5a1f8e6f90885464bcd348a1fae1a3b7db415a
2012-02-22 13:31:03 -08:00
Marc Blank 4f813fb129 Convert POP3 to service
* Remove MessagingController and (almost all of) MailService

Change-Id: I8953b58b237de6a71fda770f1727bd94081fec55
2012-02-16 10:27:00 -08:00
Marc Blank c84467afe1 Start of IMAP conversion to Service architecture
* Handle startSync and loadMore
* Use SyncManager rather than MailService for periodic sync
  and upload sync
* First of many CL's to disentangle sync from UI
* Note that the large majority of this CL is a refactoring
  of IMAP specific code out of MessagingController and into
  ImapService; MessagingController will eventually be
  removed entirely from the app, as will much of Controller

Change-Id: I13546d0694479b33cf93c25920dedc1d38227f6c
2012-02-13 11:04:56 -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 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
Jeff Brown 2b08112df4 am d462ae95: Add application launch category.
* commit 'd462ae95e4b3012e562d5644389a62a43efe8435':
  Add application launch category.
2011-11-29 13:20:08 -08:00
Jeff Brown d462ae95e4 Add application launch category.
Bug: 5674723
Change-Id: I8eb030c9bdc29769b7a3c7e3ca383d29c0a0ebdb
2011-11-28 20:11:53 -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
Marc Blank bec52108cd Up version number for release
* For ICS-MR1, v4.1

Bug: 5392464
Change-Id: I9666c91a5fde5040ee44c51dc7deae10583a8575
2011-11-08 15:47:54 -08:00
Ben Komalo 9ac7e04fb7 Up Email version for release.
Bug: 5392379
Change-Id: I6b7082bb12d4f9a9b18064b0933f5ed588af9afe
2011-10-10 11:38:16 -07:00
Ben Komalo d43f444710 Use holo light for shortcut/widget pickers
Bug: 5418974
Change-Id: Ied745d9ffa74b824a71f4eba54138739e94c4a64
2011-10-05 16:00:44 -07:00
Ben Komalo b3a72b51dd Prefill account names.
- default to e-mail address for account description
- try to use the phone's profile info for the user name

Bug: 5369190
Change-Id: I01cb567f31999bce79426eee58de8fbbc09e344d
2011-09-28 14:43:08 -07:00
Ben Komalo 82c956414b Up Email version for release.
Bug: 5280784
Change-Id: Ifc6b2ca2209053196e8db62e224553970adeda45
2011-09-14 18:16:49 -07:00
Ben Komalo 27348c7882 Revert "Make compose landscape(phone) go fullscreen"
This reverts commit 0108aeb5b1.

There are too many issues that crop up in this mode.

Bug: 5121640
Change-Id: I6264a63cada973a7ee327ff4c7e7af5df5a6fdb3
2011-08-17 11:13:07 -07:00
Marc Blank a61e7e8511 Remove unneeded and duplicate permissions in manifest
Bug: 3465831
Change-Id: If2960cc59c3b8e71c9f7b04a4c3e457dcc8ca4ef
2011-08-12 16:21:44 -07:00
Ben Komalo 4e200e4bea Misc style fixes.
- split action bar should not happen on compose and settings

Bug: 5127008
Change-Id: I97f2ccac26522831db69216b69a858e382571f5e
2011-08-07 15:33:33 -07:00
Ben Komalo 0108aeb5b1 Make compose landscape(phone) go fullscreen
Bug: 5121640
Change-Id: Ib7cc74c2ee494b69c7674d60960df83d6f0d9845
2011-08-04 17:59:03 -07:00
Ben Komalo 6be8cceadd Update sync settings UI to specs
- minor text changes
- use light holo theme
- slight order changes

Bug: 5110452
Change-Id: Icf558ee495860dc97048765d3b8d09d31161dd32
2011-08-03 17:25:10 -07:00
Adam Powell 72fb0c8b2f Follow framework API changes
Change-Id: Idda69badd6405fe6ddff1d3f4b8ea06332ac3360
2011-08-02 17:00:11 -07:00
Ben Komalo f653fdf7bf Let Data Usage settings jump to Email settings
Bug: 4725602
Change-Id: Ic343e046007859326f3f3314ac79f826617b21f5
2011-07-27 12:31:22 -07:00
Martijn Coenen e5b15cd3c8 NFC zero-click sharing for Email.
This shares the e-mail address of the currently shown account
over P2P NFC links. Note that the currently set account must
be updated actively, because the callback to create the message
comes from one of the NFC threads, which don't have permissions
to retrieve the account and the correspondig e-mail address.

Change-Id: I12e48a3787d469179e7ca074429106ed24e3a212
2011-07-26 11:45:11 -05:00
Ben Komalo 72a24f12a2 Misc settings UX fixes.
Bug: 5068602
Change-Id: I02acf3690e98ce747ddb4d3a745ac2fa59948c70
2011-07-22 16:04:10 -07:00
Marc Blank aca9426581 Remove NotificationService; use Account columns for data storage
Bug: 5023662
Change-Id: I84df3b474dd6320327851003af985144cc16348e
2011-07-19 18:19:59 -07:00
Ben Komalo 1aa5e18902 Update compose view action icons
Don't use split action bar in phone compose view (we lose too much
vertical real estate) and just tuck a lot of the menus under the menu
item.

Bug: 5011815
Change-Id: I04b009556a5984fa4b60f54f2d094c3b7c8a5c78
2011-07-11 10:23:22 -07:00
Makoto Onuki 1ddc2ca4a7 Per-mailbox settings
- Use PreferenceActivity, in the old style, meaning without PreferenceFragment.
- If setting Inbox, change the account settings instead of mailbox settings.
- Use the DialogWhenLarge theme, meaning it's a full-screen avitity on the
  phone and a dialog on the tablet.
- Also fixed the bug that we the menu items that are made invisible by
  UIControllerBase may be made re-visible by the 1-pane controller.

TODO The menu item shouldn't be shown for non-syncable mailboxes.

Change-Id: I02b2faf6f593e1e2eb370217c27801aa58ca7e6c
2011-07-10 12:09:51 -07:00
Makoto Onuki 82fecf203b Merge "Revert "Make EmailActivity the default activity."" 2011-06-21 15:06:39 -07:00
Makoto Onuki 053517d2d1 Revert "Make EmailActivity the default activity."
This reverts commit cfd89da9c3

This would remove all existing widgets somehow.
2011-06-21 15:04:59 -07:00
Makoto Onuki 6500ba21a0 Merge "Make EmailActivity the default activity." 2011-06-21 14:37:01 -07:00
Makoto Onuki cfd89da9c3 Make EmailActivity the default activity.
We still go through Welcome when the app is launched from account/mailbox
shortcuts or a widget, to clear all existing activity instances, but
when the app is launched from the launcher we just open EmailActivity.

This will get rid of the flicker.

Change-Id: I9bff31fb96e24c125ddc0a1e30a007e6d6ff036d
2011-06-21 14:11:05 -07:00
Marc Blank cbc842c5c9 Fix MailService unit tests
* These broke when we split Email/Exchange
* We now use a test authenticator and a test account type, which
  is actually far cleaner than dealing with actual accounts

Change-Id: Ib7c9f884eac484c33642a8036f47466ce641c567
2011-06-21 13:03:48 -07:00
Makoto Onuki 0f27632749 Add "search mode" to the action bar
- Instead of the search dialog, show the search widget on the action bar.
- Launches a new activity for search, but still uses the temporary search code
- Search still works only on two-pane.

Change-Id: I1d36ad3416c7dff9579cf37e40e49e31c9d99219
2011-06-14 15:13:32 -07:00
Ben Komalo 78959916e7 Add support for client side SSL certificates
This introduces the ability for clients (i.e. the exchange service) to
register "special connection types" that use a client certificate stored
in the system keystore. The alias is encoded into the URI scheme for
those clients, and the socket factory used for those connections will
use the approprate KeyManager.

Lots of TODO's, including bubbling a lot of this up to the higher level
and wiring the UI to actually set the alias in the HostAuth table.

Change-Id: If5e1901c5b58731fdabd3e6b6da7198134b512d2
2011-06-13 18:16:22 -07:00
Ben Komalo 0a5ed251f5 am 8e8372d7: am c05084c8: Update Email version for 3.2 release.
* commit '8e8372d733e1cc85977a458d979443937b7c8f46':
  Update Email version for 3.2 release.
2011-06-09 11:54:07 -07:00
Ben Komalo c05084c884 Update Email version for 3.2 release.
Change-Id: I7480c15fcfbc91c34aa042fe936ff08964d7add7
2011-06-07 21:22:07 -07:00
Todd Kennedy 7f4cf3c46b Hook account/mailbox picker to widget
now when adding a widget to the desktop, you can pick the account
and mailbox.

Change-Id: Id3d2c21b349af58459304ac5a068402d67f4d0f7
2011-06-01 18:24:47 -07:00
Todd Kennedy 5675ea88d3 Add a second fragment to select the mailbox
After choosing the account, we need to select a mailbox for the shortcut.
In order to replace the fragment, we cannot hardcode it in the XML. Instead,
we need to dynamically create it.

Also, restructure the fragment class and rely on the class to "do the right
thing"

Change-Id: I752ad5bbdf2484332ec2b73852cae74a5d2092fa
2011-05-24 16:00:33 -07:00
Ben Komalo 87df8d7161 Simple change to use the new split action bar.
Change-Id: I51456822bdf1c6f75aeb0ced615e44b624b26460
2011-05-23 20:41:24 -07:00
Makoto Onuki 2ed7a86949 Support pre-HC style account shortcuts
Account shortcuts used to point at MessageList directly with a
content://com.android.email.provider/account/ACCOUNT-UUID URI.

Hook these intents and open Welcome instead.

On Eclair and before, we stored an account-ID directly as an extra,
but this style is no longer supported.

Bug 4208879

Change-Id: I9fecb0723743377a6d7c7e84626e8613f2356492
2011-05-19 13:47:25 -07:00
Makoto Onuki b9c2e0d5e6 Remove the phone activities from manifest
Apparently I forgot to include this in the huge CL...

Change-Id: I4b3e944b328e6b8a3e20427904ba654dab2041ac
2011-05-16 13:29:27 -07:00
Ben Komalo 2866284a6d Rename AccountSettingsXL -> AccountSettings
This activity already supports phone and tablet mode.
Only renames in this change - no other change.

Change-Id: Ieca17137af45e3860812091f69cd4d9b55ddf3ec
2011-05-13 09:58:15 -07:00
Todd Kennedy 71bd208ddd Create a new notification service
We can remove the preferences stuff 'cuz the service "should be" longer
living. And, even if the service is terminated (either by the user or by
the system) we'll receive a new notification when the service comes back.
This is probably desired behaviour anyway.

Change-Id: I4850a9473401536e8fb20385b780d4736ce80a8e
2011-05-11 07:54:07 -07:00
Todd Kennedy 3d81e234d0 Remove deprecated strings
Removed the deprecated strings and brought back the permission strings
that were actually used.

Change-Id: Ie63a948522f7e11e1950969be5dfb26d7bc58e0a
2011-05-05 12:14:41 -07:00
Makoto Onuki 8112732376 Move more UI stuff from activity to the UI controller
- Now all the UI stuff is owned by the UI controller
- Except temporary UI (exchange search and per-mailbox-settings)
- Except error banner
  This should be moved too eventually, but I consider it as a low-priority.
  I'll leave it as-is for the time being.
- Moved RefreshTask too.  The spec for refresh has dependency to the UI.
  (i.e. implicit refresh of the mailbox list may not be necessary for
  the phone.)

Also renamed the main activity to EmailActivity.

Change-Id: I00585856bdacf69aa4e104178a5cf7352ff6d592
2011-04-28 10:59:55 -07:00