mirror of
https://github.com/etesync/android
synced 2024-11-13 19:29:01 +00:00
vcard4android: ignore raw contact data rows without MIMETYPE
This commit is contained in:
parent
34de8431ae
commit
2ef278c336
@ -33,7 +33,7 @@ import de.duenndns.ssl.MemorizingTrustManager;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
public class HttpClient extends OkHttpClient {
|
||||
private final int MAX_LOG_LINE_LENGTH = 80;
|
||||
private final int MAX_LOG_LINE_LENGTH = 85;
|
||||
|
||||
final static UserAgentInterceptor userAgentInterceptor = new UserAgentInterceptor();
|
||||
|
||||
|
@ -157,7 +157,7 @@ public class ContactsSyncManager extends SyncManager {
|
||||
// only one contact, use GET
|
||||
DavResource remote = bunch[0];
|
||||
|
||||
ResponseBody body = remote.get("text/vcard;q=0.5, text/vcard;charset=utf-8;q=0.8, text/vcard;version=4.0");
|
||||
ResponseBody body = remote.get("text/vcard;version=4.0, text/vcard;charset=utf-8;q=0.8, text/vcard;q=0.5");
|
||||
String eTag = ((GetETag) remote.properties.get(GetETag.NAME)).eTag;
|
||||
|
||||
@Cleanup InputStream stream = body.byteStream();
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 0d84afa1680c1ef35db52d63c4eee0b23607dd2b
|
||||
Subproject commit 7b272fff46da28ace1bb277d50b5f1b3218c170e
|
Loading…
Reference in New Issue
Block a user