vcard4android: ignore raw contact data rows without MIMETYPE

pull/2/head
Ricki Hirner 9 years ago
parent 34de8431ae
commit 2ef278c336
No known key found for this signature in database
GPG Key ID: C4A212CF0B2B4566

@ -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…
Cancel
Save