Declaring the Google+ data set as an extension of Google Contacts
Change-Id: I6b1d7e5ea86c854f3312bccd8f3fbfaef406d149
diff --git a/src/com/android/contacts/model/GoogleAccountType.java b/src/com/android/contacts/model/GoogleAccountType.java
index c3dbd79..a5fab96 100644
--- a/src/com/android/contacts/model/GoogleAccountType.java
+++ b/src/com/android/contacts/model/GoogleAccountType.java
@@ -35,6 +35,9 @@
protected static final int FLAGS_RELATION = EditorInfo.TYPE_CLASS_TEXT
| EditorInfo.TYPE_TEXT_FLAG_CAP_WORDS | EditorInfo.TYPE_TEXT_VARIATION_PERSON_NAME;
+ private static final List<String> mExtensionPackages =
+ Lists.newArrayList("com.google.android.apps.plus");
+
public GoogleAccountType(Context context, String resPackageName) {
this.accountType = ACCOUNT_TYPE;
this.resPackageName = null;
@@ -60,8 +63,7 @@
@Override
public List<String> getExtensionPackageNames() {
- // TODO: Return the Google+ package name once it has the XML for an ExternalAccountType.
- return super.getExtensionPackageNames();
+ return mExtensionPackages;
}
@Override