Adds the rest of Action mimetypes to the end of the contact card.

Change-Id: Id6f3eeb02ddbcb7d45b4f2af8fc9b544c4366ef7
diff --git a/src/com/android/contacts/quickcontact/QuickContactActivity.java b/src/com/android/contacts/quickcontact/QuickContactActivity.java
index 99d8094..f0c7241 100644
--- a/src/com/android/contacts/quickcontact/QuickContactActivity.java
+++ b/src/com/android/contacts/quickcontact/QuickContactActivity.java
@@ -689,6 +689,7 @@
          * type is also sorted, based off of {super primary, primary, times used} in that order.
          */
         final List<Action> topActions = new ArrayList<>();
+        final List<Action> allActions = new ArrayList<>();
         for (List<Action> mimeTypeActions : mActions.values()) {
             Collections.sort(mimeTypeActions, new Comparator<Action>() {
                 @Override
@@ -716,6 +717,9 @@
                 }
             });
             topActions.add(mimeTypeActions.get(0));
+            // Add all the other actions and remove the top one
+            allActions.addAll(mimeTypeActions);
+            allActions.remove(mimeTypeActions.get(0));
         }
 
         // topActions now contains the top action for each mimetype. This list now needs to be
@@ -762,6 +766,7 @@
         });
 
         entries.addAll(actionsToEntries(topActions));
+        entries.addAll(actionsToEntries(allActions));
         Trace.endSection();
     }