Runtime Fix for CalenderInteractionsLoader

Change-Id: I4642817f17a779f4ab4891cc5f7302317c354b90
diff --git a/src/com/android/contacts/interactions/CalendarInteractionsLoader.java b/src/com/android/contacts/interactions/CalendarInteractionsLoader.java
index 6e25392..0e6f483 100644
--- a/src/com/android/contacts/interactions/CalendarInteractionsLoader.java
+++ b/src/com/android/contacts/interactions/CalendarInteractionsLoader.java
@@ -61,6 +61,9 @@
 
     @Override
     public List<ContactInteraction> loadInBackground() {
+        if (mEmailAddresses == null || mEmailAddresses.size() < 1) {
+            return Collections.emptyList();
+        }
         // Perform separate calendar queries for events in the past and future.
         Cursor cursor = getSharedEventsCursor(/* isFuture= */ true, mMaxFutureToRetrieve);
         Log.v(TAG, "future cursor.count() " + cursor.getCount());