mirror of
https://github.com/etesync/android
synced 2024-11-15 12:28:57 +00:00
Library updates
* dav4android: disable compression for GET requests because it may change the ETag * better logging for ical4j messages * tests
This commit is contained in:
parent
b3dda2c112
commit
d8fb9c8373
@ -35,7 +35,10 @@ public class PlainTextFormatter extends Formatter {
|
||||
builder .append(DateFormatUtils.format(r.getMillis(), "yyyy-MM-dd HH:mm:ss"))
|
||||
.append(" ").append(r.getThreadID()).append(" ");
|
||||
|
||||
builder.append(String.format("[%s] %s", shortClassName(r.getSourceClassName()), r.getMessage()));
|
||||
if (!r.getSourceClassName().replaceFirst("\\$.*", "").equals(r.getLoggerName()))
|
||||
builder.append("[").append(shortClassName(r.getSourceClassName())).append("] ");
|
||||
|
||||
builder.append(r.getMessage());
|
||||
|
||||
if (r.getThrown() != null)
|
||||
builder .append("\nEXCEPTION ")
|
||||
|
@ -259,7 +259,7 @@ public class ContactsSyncManager extends SyncManager {
|
||||
App.log.log(Level.FINE, "Preparing upload of VCard " + resource.getFileName(), contact);
|
||||
|
||||
ByteArrayOutputStream os = new ByteArrayOutputStream();
|
||||
contact.write(hasVCard4 ? VCardVersion.V4_0 : VCardVersion.V3_0, groupMethod, true, os);
|
||||
contact.write(hasVCard4 ? VCardVersion.V4_0 : VCardVersion.V3_0, groupMethod, os);
|
||||
|
||||
return RequestBody.create(
|
||||
hasVCard4 ? DavAddressBook.MIME_VCARD4 : DavAddressBook.MIME_VCARD3_UTF8,
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 26f01d17e7fc8ee1f933df4332726024509cc221
|
||||
Subproject commit 5118dc52abf57f9c7cf774c9fd73f1766473603e
|
@ -1 +1 @@
|
||||
Subproject commit de3a570bcd1ce108f240f493c562e7b3ee0bfc4f
|
||||
Subproject commit 86d3546970d3db3df2b50a2c31a356efb2210fbd
|
@ -1 +1 @@
|
||||
Subproject commit bf48e81013e4941d111b302547b298ac58c9c151
|
||||
Subproject commit 32e2966b5af1146f9fd5758c7dc6d19297345005
|
Loading…
Reference in New Issue
Block a user