Commit Graph

7773 Commits

Author SHA1 Message Date
Paul Westbrook 1bc34c4317 Set local sdk version
Change-Id: I736591787527849222d95574bb092437d18b04f5
2013-03-05 09:51:58 -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 3bf7281800 Temporary Work around bug 8170660
For some reason, Email crashes when measuring the
RecipientsEditTextView, when replying to a message.  Replying to the
same message from Gmail2 doesn't cause this crash

This CL just sets a height on the recipient view

Bug: 8170660
Change-Id: Ib1cd7da3ac423140a0a9d9fb17a3de0c42a20b15
2013-03-01 14:21:14 -08:00
Yu Ping Hu 4da3641292 Clean up ServiceProxy.
ServiceProxy had more layers of threads than needed,
and also had out of date comments.

Change-Id: I0b9de4eeb9ba4b84b8e058279adff5172941a8d0
2013-02-28 14:33:09 -08:00
Paul Westbrook 9a95253846 Cache attachments on send
Cache attachments in a email directory when sending to allow sending
to succeed when the content provider has a permission

Bug: 7381557
Change-Id: Icf9faead2048de237228625f998b42feade48978
2013-02-27 09:43:31 -08:00
Paul Westbrook 3e2fdd33e3 Fix account creation
Notifications were not being sent on account additions,
so the UI would reprompt to add an account, after an account
was added.  Now, the appropriate notifications are sent.

Also, fixed some cases where try/finally blocks were not used
to ensure that cursors were being closed.

Change-Id: If65934a34d995471fd5102fbe7e8cacbed5aae44
2013-02-26 12:04:29 -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
Paul Westbrook 82fef2b331 Remove usage of deprecated field
Change-Id: I6c2dc897e0389023f16c0d4887ee9489ebba4cd8
2013-02-22 17:07:01 -08:00
Mark Wei ffa3370b39 am ea2edb63: Set MIME type correctly on drafts when content provider does not provide it.
* commit 'ea2edb637036a7368b6ef82a0aafdb1a790e26e9':
  Set MIME type correctly on drafts when content provider does not provide it.
2013-02-22 15:50:45 -08:00
Paul Westbrook 7401a82634 Fix suggestions from last CL
Change-Id: I838a408d28b5427f591e8e453008d9945144ff21
2013-02-22 14:40:14 -08:00
Paul Westbrook e04b736866 Remove deprecated fields/members
Change-Id: I74d5f2eb4ed778f0590a3c935e6b79c335a3bdd7
2013-02-22 12:50:11 -08:00
Paul Westbrook 779fe02003 First part of switching Email to use ContentResolver#call
This CL includes the call() support.  Subsequent CLs will remove the
deprecated UI provider uris, will add attachment caching to Email

Bug: 7381557
Change-Id: Iff59c7c0503c6e9ccda1d15954f72ffa78331b4e
2013-02-22 10:09:03 -08:00
Mark Wei ea2edb6370 Set MIME type correctly on drafts when content provider does not provide it.
Bug: 8235172
Change-Id: Ia8bc575fb902de882dfbba3bfc7cd3acb625ce2c
2013-02-21 18:10:10 -08:00
Yu Ping Hu 512433135c Merge "Fix how visibleLimit for a Mailbox is set." into jb-ub-mail-ur9 2013-02-16 03:01:08 +00:00
Yu Ping Hu 66eef4565d Fix how visibleLimit for a Mailbox is set.
- Make sure visibleLimit stays <= totalCount.
- Don't reset it to 0 every time user enters a folder.

Also sets Folder.totalCount = Mailbox.folderCount
(rather than Mailbox.messageCount).

BUG: 7480726
Change-Id: Iae084d9445f483dca2b1da052ffd4dd7d091c6f6
2013-02-15 17:02:40 -08:00
Scott Kennedy 2f9c66d08b Use swipe preference for archive/delete action
Since some people prefer delete over archive, we will use their
conversation list swipe preference to determine whether to show
a "Delete" action or an "Archive"/"Remove label" action. "Delete"
will be shown if they have selected "Always delete"

UR9 version of I4eb0d408474a9f613cc4267c3851cc7277a22ebd

Change-Id: Ia2f1382b88c1ee6f64e864cb8b780d02821b673d
2013-02-14 14:46:02 -08:00
Baligh Uddin 82eadd601a am d384fcbf: (-s ours) Import translations. DO NOT MERGE
# Via Baligh Uddin
* commit 'd384fcbffa410bbc6d07e4d3c29a20ef1dd41567':
  Import translations. DO NOT MERGE
2013-02-12 15:28:29 -08:00
Baligh Uddin d384fcbffa Import translations. DO NOT MERGE
Change-Id: I029ab00baae5e7367ebb0e6a2bf4aed328b22e35
Auto-generated-cl: translation import
2013-02-12 13:00:18 -08:00
Vikram Aggarwal 132a3f0977 Merge "Add user assignable category for mail foldders if it accepts moved messages" into jb-ub-mail-ur9 2013-02-11 17:03:46 +00:00
Baligh Uddin efb090087b am 136378e4: (-s ours) Import translations. DO NOT MERGE
# Via Baligh Uddin
* commit '136378e404278cb86f0b1a7d09f56cb2f5fd3199':
  Import translations. DO NOT MERGE
2013-02-08 11:51:50 -08:00
Baligh Uddin 136378e404 Import translations. DO NOT MERGE
Change-Id: I187dd578bdf665270320be4fc46b61f9dd89bbd4
Auto-generated-cl: translation import
2013-02-08 11:40:05 -08:00
Rohan Shah 5ba32cc2b9 Add user assignable category for mail foldders if it accepts moved messages
Email requires a user assignable category in the case
the user is moving labels/folders from a category the
user should not be allowed to view (i.e. sys labels).

Change added flag under function where if it allows
moved messages, it will allow the user to assign
there as well.

Bug: 8157593

Change-Id: Icc8a5d4587ef9180d32207613da4f31ddc8854f1
2013-02-08 11:19:11 -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
Baligh Uddin 19b77bfe12 am 584c0a8e: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur8
# Via Android (Google) Code Review (1) and Baligh Uddin (1)
* commit '584c0a8e28e377c25762c0650f17ba39441a13a4':
  Import translations. DO NOT MERGE
2013-02-07 18:07:36 -08:00
Baligh Uddin 584c0a8e28 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur8 2013-02-08 02:05:32 +00:00
Scott Kennedy a5abf7b338 am 7fdde9bb: Cache column name/indexes so we can use getColumnIndex()
# Via Scott Kennedy
* commit '7fdde9bb4a24e931618a7a64227e2194c89034da':
  Cache column name/indexes so we can use getColumnIndex()
2013-02-06 17:26:30 -08:00
Scott Kennedy 7fdde9bb4a Cache column name/indexes so we can use getColumnIndex()
MatrixCursor doesn't do this, so we need to add our own cache.

Depends on Ia5ffd31f54a2a335f495df5e0d1a0886ee08c14b

Change-Id: Ica78e3cec747bf86fcef16508156e359216c64fe
2013-02-06 17:09:42 -08:00
Baligh Uddin e5198e1d5e Import translations. DO NOT MERGE
Change-Id: I724599f777c178f00d77c12c23c73b78f7629cc8
Auto-generated-cl: translation import
2013-02-06 15:26:03 -08:00
Baligh Uddin 81167c655d am 80b5bb3d: (-s ours) Import translations. DO NOT MERGE
# Via Baligh Uddin
* commit '80b5bb3dfce7b11b56d8d493ed7b66a0aba8e0c1':
  Import translations. DO NOT MERGE
2013-02-05 12:16:41 -08:00
Baligh Uddin 80b5bb3dfc Import translations. DO NOT MERGE
Change-Id: I57772fbb48c6bae863f3508f6e068ece9ca49980
Auto-generated-cl: translation import
2013-02-04 10:29:16 -08:00
Baligh Uddin 41116bfece am 02a834eb: (-s ours) Import translations. DO NOT MERGE
# Via Baligh Uddin
* commit '02a834eb5a9384acc6a69f04c123a57ca9c78356':
  Import translations. DO NOT MERGE
2013-02-01 10:34:40 -08:00
Baligh Uddin 02a834eb5a Import translations. DO NOT MERGE
Change-Id: Ia83fe242765fd3d18fe70d48a54425a9bc449cf4
Auto-generated-cl: translation import
2013-02-01 09:13:54 -08:00
Vikram Aggarwal b249e71e02 am afbee625: Remove nonexistant classes and update existing ones
# Via Vikram Aggarwal
* commit 'afbee625adbb5d1473b37c55e0e3cdf418d29957':
  Remove nonexistant classes and update existing ones
2013-01-30 16:29:23 -08:00
Vikram Aggarwal afbee625ad Remove nonexistant classes and update existing ones
Change-Id: I09e2747030eca6248d51f70b2d3ce3aa3db26091
2013-01-30 14:20:58 -08:00
Baligh Uddin a5ee46023f am 38172a18: (-s ours) Import translations. DO NOT MERGE
# Via Baligh Uddin
* commit '38172a183b6fb84fe3c2b6751f624394a8764c7d':
  Import translations. DO NOT MERGE
2013-01-30 12:13:17 -08:00
Baligh Uddin 38172a183b Import translations. DO NOT MERGE
Change-Id: I7b36eae4699ad09e64c413389520b12fb5a18737
Auto-generated-cl: translation import
2013-01-30 11:24:12 -08:00
Vikram Aggarwal 15056dedc5 am fb4cc403: Check tablet mode through resources
# Via Vikram Aggarwal
* commit 'fb4cc403514e4d98e63f86ed9d5fa2ac442073d0':
  Check tablet mode through resources
2013-01-28 18:10:31 -08:00
Vikram Aggarwal fb4cc40351 Check tablet mode through resources
Change-Id: I1f29bce68a5736e00e38b5f0189c025bfbae433c
2013-01-28 18:05:42 -08:00
Vikram Aggarwal d02b69c5cc am 4b09765a: Added veiled pattern updates through provider
# Via Vikram Aggarwal
* commit '4b09765a2e8a0fd22a9db0e876aaaada4246aff8':
  Added veiled pattern updates through provider
2013-01-28 18:03:21 -08:00
Vikram Aggarwal 4b09765a2e Added veiled pattern updates through provider
Change-Id: I09cef0865e3d29f44a93a3887ff72676ab868b14
2013-01-28 11:54:10 -08:00
Baligh Uddin 82bd2edffc am 89bf520f: (-s ours) Import translations. DO NOT MERGE
# Via Baligh Uddin
* commit '89bf520fdce86d97293db83b7c8f9baf4c795069':
  Import translations. DO NOT MERGE
2013-01-28 10:52:06 -08:00
Baligh Uddin 89bf520fdc Import translations. DO NOT MERGE
Change-Id: I261fc15c5bc006552b20a2d220d527292ede21b7
Auto-generated-cl: translation import
2013-01-28 09:16:48 -08:00
Paul Westbrook 04d26323d9 am 632ab1d6: (-s ours) DO NOT MERGE Revert "Change "hide checkboxes" to "show checkboxes""
* commit '632ab1d6339ca038287fb999d98ee0b78ca7cedd':
  DO NOT MERGE Revert "Change "hide checkboxes" to "show checkboxes""
2013-01-23 11:44:20 -08:00
Paul Westbrook 632ab1d633 DO NOT MERGE Revert "Change "hide checkboxes" to "show checkboxes""
This reverts commit 5742d44917.
2013-01-23 10:16:06 -08:00
Baligh Uddin a16dd46c95 am 62972edd: (-s ours) Import translations. DO NOT MERGE
* commit '62972eddcec8d40c36558fdfacec4d21e121645c':
  Import translations. DO NOT MERGE
2013-01-15 09:37:04 -08:00
Baligh Uddin b3cf738aa5 Import translations. DO NOT MERGE
Change-Id: I337ed8b8a87953463133f90805202bada4cff5d9
Auto-generated-cl: translation import
2013-01-14 16:03:43 -08:00
Baligh Uddin 62972eddce Import translations. DO NOT MERGE
Change-Id: If0a2e798d565d1edb12c2319eb6a5a984e1ffee2
Auto-generated-cl: translation import
2013-01-14 16:02:48 -08:00
Baligh Uddin 0b44cebb15 am 2c9f5547: (-s ours) Import translations. DO NOT MERGE
* commit '2c9f5547e77e83ebf23da4b47f79d31577067163':
  Import translations. DO NOT MERGE
2013-01-09 14:18:03 -08:00
Baligh Uddin ae33ce14f4 Import translations. DO NOT MERGE
Change-Id: Ibc5687adea86d2b07df3357b1ce919839a6ce070
Auto-generated-cl: translation import
2013-01-09 12:30:19 -08:00
Baligh Uddin 2c9f5547e7 Import translations. DO NOT MERGE
Change-Id: Iff6daff25b95080f81b3e403587aa60821ca41bf
Auto-generated-cl: translation import
2013-01-09 12:29:11 -08:00