Skip to content

Commit a07ea5d

Browse files
author
Michael Chan
committed
Fixed the problem where getEntityAndIncrementCursor would always return "0" for attendeeIdentity & attendeeIdNamespace instead of the actual string.
Bug: 6798688 Change-Id: Ia3b6ee33110ecc8035c24d6340593160748849fd
1 parent 82c8155 commit a07ea5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/java/android/provider/CalendarContract.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,9 +1442,9 @@ public Entity getEntityAndIncrementCursor(Cursor cursor) throws RemoteException
14421442
attendeeValues.put(Attendees.ATTENDEE_STATUS,
14431443
subCursor.getInt(COLUMN_ATTENDEE_STATUS));
14441444
attendeeValues.put(Attendees.ATTENDEE_IDENTITY,
1445-
subCursor.getInt(COLUMN_ATTENDEE_IDENTITY));
1445+
subCursor.getString(COLUMN_ATTENDEE_IDENTITY));
14461446
attendeeValues.put(Attendees.ATTENDEE_ID_NAMESPACE,
1447-
subCursor.getInt(COLUMN_ATTENDEE_ID_NAMESPACE));
1447+
subCursor.getString(COLUMN_ATTENDEE_ID_NAMESPACE));
14481448
entity.addSubValue(Attendees.CONTENT_URI, attendeeValues);
14491449
}
14501450
} finally {

0 commit comments

Comments
 (0)