From 2f194cefbb8fb2cf2b7fae9eca8291e4e4b337f9 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Mon, 12 Apr 2010 17:34:41 -0700 Subject: [PATCH] Fix acknowledgment of Exchange remote wipe * The XML acknowledging the wipe was malformed Bug: 2589695 Change-Id: I24428a21ce5b08f32c372dcbb50b24d6e6c42645 --- src/com/android/exchange/EasSyncService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/exchange/EasSyncService.java b/src/com/android/exchange/EasSyncService.java index cdd511148..44867192b 100644 --- a/src/com/android/exchange/EasSyncService.java +++ b/src/com/android/exchange/EasSyncService.java @@ -1269,13 +1269,13 @@ public class EasSyncService extends AbstractSyncService { s.data(Tags.PROVISION_POLICY_KEY, tempKey); s.data(Tags.PROVISION_STATUS, "1"); + s.end().end(); // PROVISION_POLICY, PROVISION_POLICIES if (remoteWipe) { s.start(Tags.PROVISION_REMOTE_WIPE); s.data(Tags.PROVISION_STATUS, "1"); s.end(); } - s.end(); // PROVISION_POLICY - s.end().end().done(); // PROVISION_POLICIES, PROVISION_PROVISION + s.end().done(); // PROVISION_PROVISION HttpResponse resp = sendHttpClientPost("Provision", s.toByteArray()); int code = resp.getStatusLine().getStatusCode(); if (code == HttpStatus.SC_OK) {