Fixing NPE on switching from Birthday to Anniversary event type

The code is trying to ensure that a year is provided
(which is not required for a birthday).  The value
may be null or an empty string.

Bug: 3314819
Change-Id: If76731316e581addeeca9427adcf204eec7e5199
1 file changed