[vlc-devel] [PATCH] Fixed inappropriate use of Calendar.roll in TimePickerDialogFragment

Mario Rabe mario.rabe at gmail.com
Sat May 2 20:59:07 CEST 2015

This patch fixed a bug that caused playback to stop immediately when it is
the last day of a month and you set the sleep-timer after midnight. The use
of Calendar.roll caused the resulting target-date to be in the past.
Calendar.add should be used instead of Calendar.roll so larger fields get
rolled over too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150502/68ce0410/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TimePickerDialogFragment.patch
Type: application/octet-stream
Size: 840 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150502/68ce0410/attachment.obj>

More information about the vlc-devel mailing list