Don't show "Where: " in invite text if there's no location
Bug: 2563275 Change-Id: I2e978bc46b2ef292d749138500b53d61aefc4672
This commit is contained in:
parent
66a9b199a0
commit
802459f4d8
@ -43,6 +43,7 @@ import android.provider.Calendar.Attendees;
|
|||||||
import android.provider.Calendar.Calendars;
|
import android.provider.Calendar.Calendars;
|
||||||
import android.provider.Calendar.Events;
|
import android.provider.Calendar.Events;
|
||||||
import android.provider.Calendar.EventsEntity;
|
import android.provider.Calendar.EventsEntity;
|
||||||
|
import android.text.TextUtils;
|
||||||
import android.text.format.Time;
|
import android.text.format.Time;
|
||||||
import android.util.Base64;
|
import android.util.Base64;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
@ -1177,7 +1178,7 @@ public class CalendarUtilities {
|
|||||||
String location = null;
|
String location = null;
|
||||||
if (entityValues.containsKey(Events.EVENT_LOCATION)) {
|
if (entityValues.containsKey(Events.EVENT_LOCATION)) {
|
||||||
location = entityValues.getAsString(Events.EVENT_LOCATION);
|
location = entityValues.getAsString(Events.EVENT_LOCATION);
|
||||||
if (location != null) {
|
if (!TextUtils.isEmpty(location)) {
|
||||||
sb.append("\n");
|
sb.append("\n");
|
||||||
sb.append(resources.getString(R.string.meeting_where, location));
|
sb.append(resources.getString(R.string.meeting_where, location));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user