summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/mail/providers
Commit message (Collapse)AuthorAgeFilesLines
* Display sync errors using snackbar and not as a TL footerJames Lemieux2014-09-301-0/+43
| | | | | | | | | | | | | | | | | | | | | | b/16463253 The FAB compose button overlaps the action button found in the TL footer when network errors occur during sync. To avoid this overlap, the snackbar is used to display these errors and they no longer appear as a TL footer. In order to signal the sync error to AAC for display in the snackbar, the Folder.lastSyncResult needed to be encoded in the manner that AAC reads. This was not happening for POP/IMAP/Exchange accounts, so a large portion of this change is encoding that value properly every place it is written. To ensure the value is read/written properly everywhere, common methods were introduced in UIProvider that do this work. UIProviderTest was also added to ensure the read/write methods agree with each other. Finally, the display of the "Load More" TL footer was updated to match the latest spec. Change-Id: Ia44f4ca1caa77c5d76f58d75fa4ab308442d2a72
* Delegate Account creation to builder class.Ray Chen2014-07-161-1/+1
| | | | | | | Account contructors are no longer public and clients need to use Account.builder().buildFrom(...) instead. Change-Id: I8f072e893b49b64d962fa7a075e5c15364c4c05f
* Get rid of Account#nameTony Mantler2014-03-031-2/+3
| | | | | | b/13249115 Change-Id: I5478b139cba9e3e37924c3af1c7a4f818a803fa3
* Fix a broken test case.James Lemieux2014-01-171-4/+4
| | | | Change-Id: I97c5b7b68df52008bd1ab1aa23cf3be227a7d7a5
* Recently, Account gained a field: senderName. When serializing/deserializing ↵James Lemieux2014-01-161-15/+40
| | | | | | | | | that field using JSON a bug was introduced where null is serialized in and "" is deserialized out. This checkin fixes the problem. Change-Id: I66bd52b7d59ea7c3b447b86d776db52aea9b3089
* Deduplicate Address classTony Mantler2014-01-081-27/+0
| | | | Change-Id: I4f6df51f5641475ffaf96b0189ccc00748880cc0
* Pass in class loader when unparceling AccountTony Mantler2013-08-141-2/+2
| | | | | | Also mark Account test as broken Change-Id: Ia6d016ab356998b33e533a8ab0e4cf78d5b40ec3
* Remove deprecated fields/membersPaul Westbrook2013-02-221-4/+0
| | | | Change-Id: Ica1c9dbc0f190a0565c548f6566837287b19d39c
* Changes to support different Log tagsPaul Westbrook2012-06-251-1/+2
| | | | Change-Id: I7121fbf7132444fc0f5c0c130373e3f2d1a3cf7a
* Fix build.Mindy Pereira2012-04-171-54/+0
| | | | | | these tests are no longer valid. Change-Id: I07afa04dcb34c92f576b502c1c2a8312062cf679
* Custom froms.Mindy Pereira2012-04-051-1/+1
| | | | | | DO NOT WANT. First revision. It works! And it sends mail...so that's good. Change-Id: I9e77df792d57dfc09442b711710b387b5e1e6d10
* cross-project refactoringAndy Huang2012-03-121-4/+5
| | | | | | | Attachment.mimeType -> contentType Attachment.contentUri(String) -> contentUri(Uri) Change-Id: I333453943914c241c63f9ec0a3824150e52706fd
* Show the list of conversations for the folder selected in the widget.Mindy Pereira2012-02-231-1/+1
| | | | | | | | Going to take a cleanup pass after this is in and move things off the UI thread, see if I can pass parcelable objects via remote views (seems like I can't), or see if I can get away with just having a folderuri. Change-Id: I28aaee942cef963a88043bb355ad1a21fdfc5f21
* Add account/folder status columnsMarc Blank2012-02-211-1/+1
| | | | Change-Id: I0dd68839e8065d3897ed5f8d017e4ea7d41819d8
* Fix build that used non-final account vars.Mindy Pereira2012-02-211-11/+15
| | | | Change-Id: I8cf3a3d097b512ebd678157960e9ce9d79365e2b
* Parse addresses for senders display names. Move attachment joined string ↵Mindy Pereira2012-01-171-2/+2
| | | | | | parsing to provider. Change-Id: I36a5af1d3d54350ca2d9fa97666f5ceb8268a0b7
* Handle attachments on sent messages.Mindy Pereira2012-01-171-0/+53
| | | | Change-Id: I13a2b9250b61fd059b4b3f92caff03c7a3614881
* Setup send / save.Mindy Pereira2012-01-101-0/+2
| | | | | | Round 1: expect a few cleanup passes This doesn't handle saving request maps or respect user prefs Change-Id: Ia93400a49bdbc9052c3f9b72d3397f4e23a4d97b
* Pass the account around instead of just hte account name.Mindy Pereira2012-01-091-0/+49
| | | | | | | We need the account for capabilities, uris, etc., so just pass it around when launching new activities/ fragments/ etc. Change-Id: If05cae10a092679ea0e7807ae36f7965d065a649
* rename unified email's package name to com.android.mailAndy Huang2012-01-062-0/+311
New code needs a new package name. Fixes IDE conflicts when browsing. Change-Id: I328484c6d6c71df077a05d2f7d6d1e85074107c2