b/5497057 Remove references to PII from exception messages
Change-Id: I106adf420536e42fd45befec04728755d7347c90
diff --git a/src/com/android/providers/calendar/CalendarProvider2.java b/src/com/android/providers/calendar/CalendarProvider2.java
index 121f001..47d59f9 100644
--- a/src/com/android/providers/calendar/CalendarProvider2.java
+++ b/src/com/android/providers/calendar/CalendarProvider2.java
@@ -1961,8 +1961,8 @@
if (count != 1 && count != 2) {
// We're only expecting one matching entry. We might briefly see
// two during a server sync.
- Log.e(TAG, "Attendee status update on event=" + newEventId +
- " name=" + accountName + " touched " + count + " rows");
+ Log.e(TAG, "Attendee status update on event=" + newEventId
+ + " touched " + count + " rows. Expected one or two rows.");
if (false) {
// This dumps PII in the log, don't ship with it enabled.
Cursor debugCursor = mDb.query(Tables.ATTENDEES, null,
@@ -2196,8 +2196,7 @@
c = getColorByIndex(accountName, accountType, colorIndex);
if (c.getCount() != 0) {
throw new IllegalArgumentException(colorIndex
- + " already exists for account " + accountName + " with type "
- + accountType);
+ + " already exists for account and type provided");
}
} finally {
if (c != null)