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

Commit b5342f96 authored by Scott Main's avatar Scott Main Committed by Android Git Automerger
Browse files

am fe997295: am 01dc133b: am f1bc39b8: fix code error. The data type was...

am fe997295: am 01dc133b: am f1bc39b8: fix code error. The data type was wrong, but it\'s actually not needed.

* commit 'fe997295':
  fix code error. The data type was wrong, but it's actually not needed.
parents 1a556b99 fe997295
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -737,7 +737,7 @@ so you can populate fields of the contact details.
<pre>
public void editContact(Uri contactUri, String email) {
    Intent intent = new Intent(Intent.ACTION_EDIT);
    intent.setDataAndType(contactUri, Contacts.CONTENT_TYPE);
    intent.setData(contactUri);
    intent.putExtra(Intents.Insert.EMAIL, email);
    if (intent.resolveActivity(getPackageManager()) != null) {
        startActivity(intent);