Changed SyncOperation.toKey() to not rely on the implementation of

Account.toString()

bug: 2898033
Change-Id: I6bfac976127190d2d667312df7aa9c7d57b21555
This commit is contained in:
Fred Quintana
2010-08-05 14:14:49 -07:00
committed by android-build SharedAccount
parent 4b34662bac
commit 5cbaba857a

View File

@@ -90,7 +90,7 @@ public class SyncOperation implements Comparable {
private String toKey() {
StringBuilder sb = new StringBuilder();
sb.append("authority: ").append(authority);
sb.append(" account: ").append(account);
sb.append(" account {name=" + account.name + ", type=" + account.type + "}");
sb.append(" extras: ");
extrasToStringBuilder(extras, sb, true /* asKey */);
return sb.toString();