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

Commit 46162871 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 8177

* changes:
  Added patch support based on serializer state in the android client
parents ead14576 513d2179
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,