Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 513d2179 authored by fmantek's avatar fmantek
Browse files

Added patch support based on serializer state in the android client

parent bc4aa5f6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -464,8 +464,9 @@ public class AndroidGDataClient implements GDataClient {
                                   GDataSerializer entry)
        throws HttpException, IOException {
        HttpEntity entity = createEntityForEntry(entry, GDataSerializer.FORMAT_UPDATE);
        final String method = entry.doesSupportPartial() ? "PATCH" : "PUT";
        InputStream in = createAndExecuteMethod(
                new PostRequestCreator("PUT", entity),
                new PostRequestCreator(method, entity),
                editUri,
                authToken,
                eTag,