Switch GoogleAccountType extension package to gms
Making this change will allow the G+ app to some day remove
their code for handling CP2 contacts. Additionally, this
gives us (GMS) more control over the future of contact
syncing.
The contacts app will examine GMS's people_contacts.xml
instead of G+'s es_contacts.xml. What affect does this have?
* The definition for the ContactsDataKinds will be exactly the
same as before. No affect here.
* GMS's PeopleSyncRawContactService will be used when a G+ thumbnail
is viewed instead of G+'s AndroidContactsNotificationService.
Note, that AndroidContactsNotificationService was already a shim
for PeopleSyncRawContactService. This only removes a level of
indirection. No affect here.
* The inviteContactActivity and viewGroupActivity will go through
an additional level of indirection: first GMS springboard
activities will open. These will redirect to the G+ app.
Right now these activities aren't even used inside the
Contacts app. So, not really any affect here.
Bug: 13033233
Change-Id: Ibdaf5a236b2e616328850d079ee0796fc519be4d
diff --git a/src/com/android/contacts/common/model/account/GoogleAccountType.java b/src/com/android/contacts/common/model/account/GoogleAccountType.java
index 6877187..8f7f172 100644
--- a/src/com/android/contacts/common/model/account/GoogleAccountType.java
+++ b/src/com/android/contacts/common/model/account/GoogleAccountType.java
@@ -36,9 +36,10 @@
/**
* The package name that we should load contacts.xml from and rely on to handle
- * G+ account actions.
+ * G+ account actions. Even though this points to gms, in some cases gms will still hand
+ * off responsibility to the G+ app.
*/
- public static final String PLUS_EXTENSION_PACKAGE_NAME = "com.google.android.apps.plus";
+ public static final String PLUS_EXTENSION_PACKAGE_NAME = "com.google.android.gms";
public static final String ACCOUNT_TYPE = "com.google";