account arrowhead-down arrowhead-up mobile-menu search sm-bold-x x-skinny-rounded x-skinny arrowhead-right social-facebook social-googleplus social-instagram social-linkedin social-pinterest social-qzone social-renren social-tencent social-twitter social-vkontakt social-weibo social-youku social-youtube

Please help us improve our website

Take our customer survey to evaluate your visit.

It should only take a few minutes to answer five quick questions. Just click the Launch survey button at the end of your visit to begin.

cancel
Showing results for 
Search instead for 
Did you mean: 
Welcome to the Open Devices community!

This is where we discuss open source and development related questions on our Open Devices initiative.

Calendar allday event problem

Highlighted
One time poster
Message 1 of 1
337 Views
Message 1 of 1

Calendar allday event problem

Hey,

 

I have an application which has some calendar events in it.

Calendar events is sorted in list. And when I press allDay event the Sony Calendar crashes with error "

java.lang.IllegalArgumentException: allDay is true but sec, min, hour are not 0." But they hours, minutes and seconds are set to 0. When I change them manually to 0, Sony calendar opens, but it gives wrong endDate, its one day back(screens are below). Is it a bug in Sony Calendar? Because all other calendars are working great! My device is Sony M2. Please help.
 
Screen 1(crash, translation is "The Calendar app is stopped"):
bugreport-2019-04-24-11-21-45.pngScreen 1
Screen 2(Sony calendar. When I set to 0 manually):
InkedScreenshot_1560245044_LI.jpg
 
Screen 3(Other calendars):
InkedScreenshot_1560245689_LI.jpg