diff options
| author | Paul Soulos <psoulos@google.com> | 2014-09-02 17:15:43 -0700 |
|---|---|---|
| committer | Paul Soulos <psoulos@google.com> | 2014-09-03 01:17:20 +0000 |
| commit | 1bbce6450c75fddbd58c1897fa120cb50a6e0151 (patch) | |
| tree | d7d53f5b27beeb93acd76f63a51b46293d09cf34 /src | |
| parent | 3c8a09988f454a78bbfaf490f6565d4a1d0321f6 (diff) | |
| download | packages_apps_Contacts-1bbce6450c75fddbd58c1897fa120cb50a6e0151.tar.gz packages_apps_Contacts-1bbce6450c75fddbd58c1897fa120cb50a6e0151.tar.bz2 packages_apps_Contacts-1bbce6450c75fddbd58c1897fa120cb50a6e0151.zip | |
Properly parses all day events in contact card
bug: 17362750
Change-Id: Ie093a094643631ea4f55fbda0fdef26b9d04ef7a
Diffstat (limited to 'src')
| -rw-r--r-- | src/com/android/contacts/interactions/CalendarInteraction.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/contacts/interactions/CalendarInteraction.java b/src/com/android/contacts/interactions/CalendarInteraction.java index f0201bd89..12a968e4d 100644 --- a/src/com/android/contacts/interactions/CalendarInteraction.java +++ b/src/com/android/contacts/interactions/CalendarInteraction.java @@ -130,7 +130,7 @@ public class CalendarInteraction implements ContactInteraction { } public Boolean getAllDay() { - return mValues.getAsBoolean(Attendees.ALL_DAY); + return mValues.getAsInteger(Attendees.ALL_DAY) == 1 ? true : false; } public Integer getAvailability() { |
