Calendar: Use TextUtils to check for null/empty string.

Change-Id: Icdbc97939a51c5fa2db8cacbeb9c9fe815f927e4