Commit Graph

8671 Commits

Author SHA1 Message Date
Yu Ping Hu
4ef1f6a689 Merge "Synchronize all access to the EmailServiceInfo map." into jb-ub-mail-ur10 2013-08-09 20:41:47 +00:00
Tomasz Potega
7f4bc353fa Updated account access settings for Wirtualna Polska
See:

http://poczta.wp.pl/info-pomoc-konfig.html?action=more&id=161

SSL encryption on by default, IMAP access.

Change-Id: I60d4f264a50e8f2c501493c64ef5e631a690073b
Signed-off-by: Tomasz Potega <tomasz.potega@gmail.com>
2013-08-09 13:33:09 -07:00
Paul Westbrook
f710d4a0bf am 3b758913: Merge "Use DatabaseUtils method instead of query()" into jb-ub-mail-ur10
* commit '3b758913be54c4d561ce718cb2cd629686f92037':
  Use DatabaseUtils method instead of query()
2013-08-09 12:21:50 -07:00
Paul Westbrook
3b758913be Merge "Use DatabaseUtils method instead of query()" into jb-ub-mail-ur10 2013-08-09 19:19:44 +00:00
yi.jang
809b52b117 am 44e16031: Use deleteDatabase method to improve safety of DB file handling
* commit '44e16031550929a5e840aa61dcb4246ff1f691d9':
  Use deleteDatabase method to improve safety of DB file handling
2013-08-09 12:05:39 -07:00
yi.jang
44e1603155 Use deleteDatabase method to improve safety of DB file handling
Deleting .db files can make malformed database issues
when WAL(write ahead logging) mode is enabled.
EmailProvider doesn't use WAL mode currently,
But it has to be fixed because it might cause the problem in the
future.

Change-Id: Ie0313c5d253f3080401b00b197e7cbf97f25423c

Conflicts:
	src/com/android/email/provider/EmailProvider.java
2013-08-09 11:58:15 -07:00
Yu Ping Hu
b5eed31d1b Synchronize all access to the EmailServiceInfo map.
Bug: 10255995
Change-Id: I36bee575a923b5c8bfbaea7babdf9f2c5e9bd378
2013-08-09 11:51:53 -07:00
yi.jang
a674551464 Use DatabaseUtils method instead of query()
Use DatabaseUtils.longForQuery() method instead of SQLiteDatabase.query().
This reduces processing cost of database cursor.

Change-Id: Ibe53645b32a4de1ab6518f879e564ddf8f75d822

Conflicts:
	src/com/android/email/provider/EmailProvider.java
2013-08-09 11:50:27 -07:00
Yu Ping Hu
50689dbcaa am 5673236e: Set SDK version for Email to 18.
* commit '5673236ebe98bbbc47c433d9f08e54a4f8f5d282':
  Set SDK version for Email to 18.
2013-08-08 14:01:33 -07:00
Yu Ping Hu
5673236ebe Set SDK version for Email to 18.
Change-Id: Ib233193554637506ce5b9cdbe999843b9e5e4ab5
2013-08-08 10:23:17 -07:00
Tony Mantler
1980191a65 am fdb0fc71: Merge "Start cleaning up QuickResponse code" into jb-ub-mail-ur10
* commit 'fdb0fc712a602518112226c8f82343fc07e08260':
  Start cleaning up QuickResponse code
2013-08-07 19:22:31 -07:00
Tony Mantler
fdb0fc712a Merge "Start cleaning up QuickResponse code" into jb-ub-mail-ur10 2013-08-08 02:21:18 +00:00
Yu Ping Hu
df0bba72f7 am bf0911f3: Disable attachment preview pref.
* commit 'bf0911f3dee8bea9d2a8a8957913cf62e4f5eb85':
  Disable attachment preview pref.
2013-08-07 18:18:15 -07:00
Yu Ping Hu
bf0911f3de Disable attachment preview pref.
Bug: 10232077
Change-Id: If1ed251d63befd40dc55ada2da7c56f5ac611c68
2013-08-07 18:09:13 -07:00
Mark Wei
45e3e59f03 am 94e6b5d9: Merge "Change IME input mode to pan instead of resize." into jb-ub-mail-ur10
* commit '94e6b5d9bd6ada7d4174ecc1f7ef2238ea66031e':
  Change IME input mode to pan instead of resize.
2013-08-07 17:06:58 -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
Tony Mantler
05273f8309 Start cleaning up QuickResponse code
Change-Id: I76b5adbe8e05713c44d11a2e51d317cae6266a56
2013-08-07 16:57:21 -07:00
Yu Ping Hu
8fb4c89d9a am 6d3e1c9d: Merge "Increment Email version." into jb-ub-mail-ur10
* commit '6d3e1c9dad539b3e87501a723c3fecdd12701a59':
  Increment Email version.
2013-08-07 15:00:23 -07:00
Yu Ping Hu
6d3e1c9dad Merge "Increment Email version." into jb-ub-mail-ur10 2013-08-07 21:56:08 +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
Martin Hibdon
c9fa98c90f am d42e14ad: Merge "Implement two part imap sync" into jb-ub-mail-ur10
* commit 'd42e14ad722db6eb1a8e6b0696abb6d4a88fac4e':
  Implement two part imap sync
2013-08-07 13:32:52 -07:00
Martin Hibdon
d42e14ad72 Merge "Implement two part imap sync" into jb-ub-mail-ur10 2013-08-07 20:30:00 +00:00
Martin Hibdon
c75f5880ab Implement two part imap sync
b/10075523
Now, every 15 minutes we'll sync the last 24 hours.
Every 4 hours we'll perform a full sync, which will
take either the last 7 days, or until the oldest message
we already have locally.

Change-Id: Idc55a46a28af2a68cc324e414d51d88373941595
2013-08-07 12:26:24 -07:00
Mark Wei
6ac290a4a0 am 034149b5: Add a setting for attachment previews.
* commit '034149b5861ff5a42593f9749ab059f2c4cf4381':
  Add a setting for attachment previews.
2013-08-07 11:28:44 -07:00
Mark Wei
034149b586 Add a setting for attachment previews.
Bug: 10131520
Change-Id: I782b331971272203d1b36a578cf6a149793b10e6
2013-08-07 10:55:59 -07:00
Yu Ping Hu
d9521a3f9d am c3ceed68: Fix ui notifications on folder list changes.
* commit 'c3ceed68948ef6720ae7b861955b4d341f331643':
  Fix ui notifications on folder list changes.
2013-08-07 10:38:10 -07:00
Alice Yang
f1284d4d55 Sync disabled tip
Bug 9825835

Change-Id: I5fd692c7cd8a03d3b8ea140f2d6e8919bd293904
2013-08-07 08:31:29 -07:00
Yu Ping Hu
d80bf70b58 am 6edccbf1: Fix capabilities to allow discarding drafts.
* commit '6edccbf1f1371157cfa6e503d8353a474aafd2a1':
  Fix capabilities to allow discarding drafts.
2013-08-06 20:39:14 -07:00
Yu Ping Hu
c3ceed6894 Fix ui notifications on folder list changes.
uifolders and uiallfolders cursors now setNotificationUri on
the appropriate uri. That uri is notified whenever:

- A folder is inserted, deleted, or modified.
- A message is inserted or modified (since this can affect
  message counts).

This second one is still not quite right: there are some
conditions where counts aren't updating correctly.

While I was here, I renamed the notification uris to
avoid collisions between different versions of the app.

Bug: 9111855
Change-Id: Ia29bb6a65b4f673bf352fdf0e14270b3f1443ca8
2013-08-06 20:37:35 -07:00
Yu Ping Hu
6edccbf1f1 Fix capabilities to allow discarding drafts.
Bug: 10098652
Change-Id: Iebceb203cd054a1550f7c1f118841a77429f853a
2013-08-06 20:20:15 -07:00
Yu Ping Hu
8df31b0fe6 am 9d628b4c: Merge "Fix icons for unread virtual folder." into jb-ub-mail-ur10
* commit '9d628b4c41df1d9a4a1251b91191cff654e64841':
  Fix icons for unread virtual folder.
2013-08-05 17:52:39 -07:00
Yu Ping Hu
1fee06b5d6 am 4d11d4c5: Merge "Remove some unused functions." into jb-ub-mail-ur10
* commit '4d11d4c581482b86f3cee63c143fa0bd01d83864':
  Remove some unused functions.
2013-08-05 17:52:39 -07:00
Yu Ping Hu
9d628b4c41 Merge "Fix icons for unread virtual folder." into jb-ub-mail-ur10 2013-08-06 00:50:53 +00:00
Yu Ping Hu
4d11d4c581 Merge "Remove some unused functions." into jb-ub-mail-ur10 2013-08-06 00:50:41 +00:00
Yu Ping Hu
2535e03ab2 Remove some unused functions.
Change-Id: I1df1cf8af01c81c47b11a1f44be819f8c384cf85
2013-08-05 17:43:00 -07:00
Yu Ping Hu
5e5b08dcce Fix icons for unread virtual folder.
Bug: 9594158
Change-Id: I9e00e89fe74c43c99b8cb67e068aa06593c79413
2013-08-05 17:34:08 -07:00
Martin Hibdon
88271d8d56 am d7384918: Merge "Fix a couple of bugs in imap synching" into jb-ub-mail-ur10
* commit 'd7384918e7ce035f79cf46e61ab57ac41a8bd62b':
  Fix a couple of bugs in imap synching
2013-08-05 12:33:08 -07:00
Martin Hibdon
d7384918e7 Merge "Fix a couple of bugs in imap synching" into jb-ub-mail-ur10 2013-08-05 19:30:38 +00:00
Martin Hibdon
fda9d945e7 Fix a couple of bugs in imap synching
b/10111339
b/10125810
The first problem was that the imap BEFORE clause
is exclusive, so messages on the date given in
BEFORE will not be sent. Now, on the sync for the
most recent messages, we will just not specify a
BEFORE clause, so we can always get the most recent
messages even if our clock drifts from the server.

The second is that some imap servers do not accept
time information on the query dates, and that causes
errors. The imap spec defines the BEFORE and SINCE
clauses to come with a <date> only, not a time,
and although it seems that at least some imap servers
handle that, it can't be expected to always work.

Change-Id: Ibf41c6f7600b9f9537bc6d13b59873ee36798e1e
2013-08-05 12:27:13 -07:00
Yu Ping Hu
6699915518 am aae03066: Increment Email version.
* commit 'aae03066f1784e38bee0c5d5bd210eb15ee7e6d9':
  Increment Email version.
2013-08-02 17:40:53 -07:00
Yu Ping Hu
aae03066f1 Increment Email version.
Change-Id: I3883e807da8ec7b03406610ba72eafac0f0d9a78
2013-08-02 17:08:39 -07:00
Yu Ping Hu
ad90718874 am 6602918f: Add checks for whether a mailbox is syncable.
* commit '6602918f964bfec0c19fa975a2ff7f2ab68503ad':
  Add checks for whether a mailbox is syncable.
2013-08-02 14:03:40 -07:00
Yu Ping Hu
6602918f96 Add checks for whether a mailbox is syncable.
These will be used in Exchange and eventually in IMAP.

Change-Id: If04c78556a1e52f1daa18bc3be0dc3def3c48957
2013-08-02 13:47:53 -07:00
Yu Ping Hu
a8d3e095c0 am a1329ba1: Merge "Report message count for folders where total count < 0." into jb-ub-mail-ur10
* commit 'a1329ba1d7c909a0fad364f1a9254f4b771a19eb':
  Report message count for folders where total count < 0.
2013-08-02 12:44:03 -07:00
Yu Ping Hu
a1329ba1d7 Merge "Report message count for folders where total count < 0." into jb-ub-mail-ur10 2013-08-02 19:42:03 +00:00
Yu Ping Hu
bcd81d96a4 Report message count for folders where total count < 0.
Local-only folders will set total count = -1 to signify that
they should never sync with server.

Change-Id: I6034633e453343f14faac077902e67ea4e6b0a35
2013-08-02 12:23:19 -07:00
Scott Kennedy
c9cd113c34 am 26f741fb: Remove some warnings
* commit '26f741fbafad7c7159b56f2063d6bf5859109c6c':
  Remove some warnings
2013-08-02 08:49:42 -07:00
Scott Kennedy
26f741fbaf Remove some warnings
Change-Id: Ifc855a6c8623bd980807064477635c19b8ed81e0
2013-08-01 22:14:01 -07:00
Yu Ping Hu
a8a053c044 am 43181198: Merge "Move required system folder types to Mailbox." into jb-ub-mail-ur10
* commit '431811986ff0637826e3937522a9da3fe3561b3a':
  Move required system folder types to Mailbox.
2013-08-01 18:20:57 -07:00