Hide empty FFC groups for non Google accounts
am: f9dd12948a
Change-Id: I1852187bdfaa83f194cbf3162c21160e0429bf98
diff --git a/src/com/android/contacts/group/GroupUtil.java b/src/com/android/contacts/group/GroupUtil.java
index 372eed5..498fddd 100644
--- a/src/com/android/contacts/group/GroupUtil.java
+++ b/src/com/android/contacts/group/GroupUtil.java
@@ -128,12 +128,11 @@
}
/**
- * Returns true if it's an empty and read-only group of a Google account and the system ID of
+ * Returns true if it's an empty and read-only group and the system ID of
* the group is one of "Friends", "Family" and "Coworkers".
*/
public static boolean isEmptyFFCGroup(GroupListItem groupListItem) {
- return GoogleAccountType.ACCOUNT_TYPE.equals(groupListItem.getAccountType())
- && groupListItem.isReadOnly()
+ return groupListItem.isReadOnly()
&& isSystemIdFFC(groupListItem.getSystemId())
&& (groupListItem.getMemberCount() <= 0);
}