commit | 1bbce6450c75fddbd58c1897fa120cb50a6e0151 | [log] [tgz] |
---|---|---|
author | Paul Soulos <psoulos@google.com> | Tue Sep 02 17:15:43 2014 -0700 |
committer | Paul Soulos <psoulos@google.com> | Wed Sep 03 01:17:20 2014 +0000 |
tree | d7d53f5b27beeb93acd76f63a51b46293d09cf34 | |
parent | 3c8a09988f454a78bbfaf490f6565d4a1d0321f6 [diff] |
Properly parses all day events in contact card bug: 17362750 Change-Id: Ie093a094643631ea4f55fbda0fdef26b9d04ef7a
diff --git a/src/com/android/contacts/interactions/CalendarInteraction.java b/src/com/android/contacts/interactions/CalendarInteraction.java index f0201bd..12a968e 100644 --- a/src/com/android/contacts/interactions/CalendarInteraction.java +++ b/src/com/android/contacts/interactions/CalendarInteraction.java
@@ -130,7 +130,7 @@ } public Boolean getAllDay() { - return mValues.getAsBoolean(Attendees.ALL_DAY); + return mValues.getAsInteger(Attendees.ALL_DAY) == 1 ? true : false; } public Integer getAvailability() {