From cb7ac76f0b02ad41a568e3259ebd4911d3b748a7 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Sun, 2 May 2010 13:49:55 -0700 Subject: [PATCH] Fix GAL lookup issue Bug: 2646410 Change-Id: I52b0ddf4b7c6b56b3ad060d8d42a6080efa3662b --- src/com/android/exchange/adapter/GalParser.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/android/exchange/adapter/GalParser.java b/src/com/android/exchange/adapter/GalParser.java index 39007f7ae..fffad70ef 100644 --- a/src/com/android/exchange/adapter/GalParser.java +++ b/src/com/android/exchange/adapter/GalParser.java @@ -94,8 +94,10 @@ public class GalParser extends Parser { if (tag == Tags.SEARCH_RESULT) { parseResult(galResult); } else if (tag == Tags.SEARCH_RANGE) { + // Retrieve value, even if we're not using it for debug logging + String range = getValue(); if (EasSyncService.DEBUG_GAL_SERVICE) { - mService.userLog("GAL result range: " + getValue()); + mService.userLog("GAL result range: " + range); } } else if (tag == Tags.SEARCH_TOTAL) { galResult.total = getValueInt();