Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e8b4ab0 authored by Daniel Lehmann's avatar Daniel Lehmann Committed by Android Git Automerger
Browse files

am 23f6049c: Merge "Disable "Create new contact" when setting photo from gallery." into jb-dev

* commit '23f6049c':
  Disable "Create new contact" when setting photo from gallery.
parents 3f5e0133 23f6049c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -83,8 +83,8 @@ public class AttachPhotoActivity extends ContactsActivity {
            mTempPhotoFile = ContactPhotoUtils.generateTempPhotoFile(this);
            mTempPhotoUri = Uri.fromFile(mTempPhotoFile);

            Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
            intent.setType(Contacts.CONTENT_ITEM_TYPE);
            Intent intent = new Intent(Intent.ACTION_PICK);
            intent.setType(Contacts.CONTENT_TYPE);
            startActivityForResult(intent, REQUEST_PICK_CONTACT);
        }