the order of auto download attachment was wrong 84/94984/1
authorSan Cho <san.cho@samsung.com>
Mon, 11 Jul 2016 08:02:07 +0000 (17:02 +0900)
committerintae jeon <intae.jeon@samsung.com>
Wed, 2 Nov 2016 05:24:29 +0000 (22:24 -0700)
commit4c077ccc0a712673afe9e146880d9110a3aa3b08
treea0faeb139553ab7010acea2cae98a4b15504f826
parent15163e720eede6738bbd6f277c245333b56a3d40
the order of auto download attachment was wrong

[Problem] the order of auto download attachment was wrong
[Cause & Measure] Cause: the older mail's attachment was downloaded first.
Measure: sorting mails by server id and download attachment.

Change-Id: Ib7d4649ba3b960bc2a66e23f8032ea0d068d157e
(cherry picked from commit df03367cd6d9cd10d47c26c402819b1122ec8813)
email-core/email-core-auto-download.c