Remove extra logging from getStatus

This commit is contained in:
Keith Uplinger 2013-05-03 15:41:24 +00:00 committed by Joachim Fritzsch
parent a597c2d24f
commit 69ab6f570c
1 changed files with 6 additions and 5 deletions

View File

@ -61,11 +61,12 @@ public class CcStateParser extends BaseParser {
public static CcState parse(String rpcResult) { public static CcState parse(String rpcResult) {
try { try {
String tmp = rpcResult; String tmp = rpcResult;
while(tmp.length() > 4000) { //Log d has a limit on string size to print, loop to print it all...
Log.d(TAG, "WCG: " + tmp.substring(0, 4000)); // while(tmp.length() > 4000) {
tmp = tmp.substring(4000); // Log.d(TAG, "WCG: " + tmp.substring(0, 4000));
} // tmp = tmp.substring(4000);
Log.d(TAG, "WCG: " + tmp); // }
// Log.d(TAG, "WCG: " + tmp);
CcStateParser parser = new CcStateParser(); CcStateParser parser = new CcStateParser();
Xml.parse(rpcResult, parser); Xml.parse(rpcResult, parser);