Merge "Fix GAL lookup issue" into froyo

This commit is contained in:
Andy Stadler 2010-05-03 07:25:15 -07:00 committed by Android (Google) Code Review
commit 48d2621b45

View File

@ -94,8 +94,10 @@ public class GalParser extends Parser {
if (tag == Tags.SEARCH_RESULT) { if (tag == Tags.SEARCH_RESULT) {
parseResult(galResult); parseResult(galResult);
} else if (tag == Tags.SEARCH_RANGE) { } 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) { if (EasSyncService.DEBUG_GAL_SERVICE) {
mService.userLog("GAL result range: " + getValue()); mService.userLog("GAL result range: " + range);
} }
} else if (tag == Tags.SEARCH_TOTAL) { } else if (tag == Tags.SEARCH_TOTAL) {
galResult.total = getValueInt(); galResult.total = getValueInt();