Allow G+ profile photo to be saved as ME profile.

Bug: 25282799
Change-Id: Ie3872383311b401b2e8f3a983e27fcfe592c84f7
diff --git a/src/com/android/contacts/editor/CompactRawContactsEditorView.java b/src/com/android/contacts/editor/CompactRawContactsEditorView.java
index 303a450..4aa7a94 100644
--- a/src/com/android/contacts/editor/CompactRawContactsEditorView.java
+++ b/src/com/android/contacts/editor/CompactRawContactsEditorView.java
@@ -465,14 +465,10 @@
 
     public void updatePhoto(Uri photoUri) {
         mPhotoValuesDelta.setFromTemplate(false);
-
-        if (!mIsUserProfile) {
-            // Unset primary for all photos
-            unsetSuperPrimary();
-
-            // Mark the currently displayed photo as primary
-            mPhotoValuesDelta.setSuperPrimary(true);
-        }
+        // Unset primary for all photos
+        unsetSuperPrimary();
+        // Mark the currently displayed photo as primary
+        mPhotoValuesDelta.setSuperPrimary(true);
 
         // Even though high-res photos cannot be saved by passing them via
         // an EntityDeltaList (since they cause the Bundle size limit to be
@@ -587,14 +583,10 @@
         }
         final ValuesDelta valuesDelta = valuesDeltaList.get(photo.valuesDeltaListIndex);
         valuesDelta.setFromTemplate(false);
-
-        if (!mIsUserProfile) {
-            // Unset primary for all other photos
-            unsetSuperPrimary();
-
-            valuesDelta.setSuperPrimary(true);
-        }
-
+        // Unset primary for all photos
+        unsetSuperPrimary();
+        // Mark the currently displayed photo as primary
+        valuesDelta.setSuperPrimary(true);
         // Update the UI
         mPhotoView.setPhoto(valuesDelta, mMaterialPalette);
     }